mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
text entity has gui attributes
This commit is contained in:
parent
e47c3c0e28
commit
ff0275dc47
1 changed files with 4 additions and 0 deletions
|
|
@ -334,6 +334,10 @@ class TextEntity(InputEntity):
|
|||
self.valid_value_types = (str, )
|
||||
self.value_on_not_set = ""
|
||||
|
||||
# GUI attributes
|
||||
self.multiline = self.schema_data.get("multiline", False)
|
||||
self.placeholder_text = self.schema_data.get("placeholder")
|
||||
|
||||
|
||||
class PathInput(TextEntity):
|
||||
schema_types = ["path-input"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue