mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 08:54:53 +01:00
PathInput do not inherit from TextEntity
This commit is contained in:
parent
5b74674925
commit
bbe1e60c16
1 changed files with 4 additions and 1 deletions
|
|
@ -314,6 +314,9 @@ class EnumEntity(InputEntity):
|
|||
|
||||
self.valid_value_types = tuple(valid_value_types)
|
||||
|
||||
# GUI attribute
|
||||
self.placeholder = self.schema_data.get("placeholder")
|
||||
|
||||
def set_value(self, value):
|
||||
if self.multiselection:
|
||||
if not isinstance(value, list):
|
||||
|
|
@ -347,7 +350,7 @@ class TextEntity(InputEntity):
|
|||
self.placeholder_text = self.schema_data.get("placeholder")
|
||||
|
||||
|
||||
class PathInput(TextEntity):
|
||||
class PathInput(InputEntity):
|
||||
schema_types = ["path-input"]
|
||||
|
||||
def item_initalization(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue