forked from shaba/openuds
Added user interface default value
This commit is contained in:
parent
4f4f1f24fd
commit
d2cb4356f0
@ -267,7 +267,7 @@ class gui:
|
||||
|
||||
def __init__(self, **options) -> None:
|
||||
# Added defaultValue as alias for defvalue
|
||||
defvalue = options.get('defvalue', options.get('defaultValue', ''))
|
||||
defvalue = options.get('defvalue', options.get('defaultValue', options.get('defValue', '')))
|
||||
if callable(defvalue):
|
||||
defvalue = defvalue()
|
||||
self._data = {
|
||||
|
Loading…
Reference in New Issue
Block a user