add clearable
This commit is contained in:
parent
260cd77d55
commit
36936edbe1
|
@ -91,6 +91,8 @@ class TiramisuOptionOption:
|
|||
props.append('frozen')
|
||||
if model.get('hidden'):
|
||||
props.append('hidden')
|
||||
if self.form.get(self._path, {}).get('clearable'):
|
||||
props.append('clearable')
|
||||
return props
|
||||
|
||||
def requires(self) -> None:
|
||||
|
|
Loading…
Reference in New Issue