[CopyOnly] Attribute to allow users to copy content of an otherwise ReadOnly field.
Currently we have a ReadOnly Attribute. Which effectively disables something from any and all interaction. Which includes copy and pasting the values (or even selecting them for that purpose)
Either change how ReadOnly works, or create CopyOnly that does the same thing, but still allows a user to copy the content of said variable. (textbox, int, float, etc.)
There might be other usecases for this, but mine just requires me to create field in which i dump information in a textbox, and i really do not want the user to mess up the content of said textbox when they edit it (to prevent user error in the copy/paste process to an external program/spreadsheet)
Comments (2)
-
-
I went digging and found. Can right click to copy :)
https://odininspector.com/attributes/display-as-string-attribute
- Log in to comment
This would be very useful for me. I’m generating UUIDs for items and would like to be able to copy them without accidentally mangling them.