forked from shaba/openuds
fixed max length on text fields
This commit is contained in:
parent
5b8e346788
commit
4ecb520496
@ -237,7 +237,7 @@ class gui:
|
||||
|
||||
def __init__(self, **options):
|
||||
self._data = {
|
||||
'length': options.get('length', gui.InputField.DEFAULT_LENTGH),
|
||||
'length': options.get('length', gui.InputField.DEFAULT_LENTGH), # Length is not used on some kinds of fields, but present in all anyway
|
||||
'required': options.get('required', False),
|
||||
'label': options.get('label', ''),
|
||||
'defvalue': str(options.get('defvalue', '')),
|
||||
|
File diff suppressed because one or more lines are too long
@ -92,6 +92,6 @@
|
||||
</svg>
|
||||
</div>
|
||||
</uds-root>
|
||||
<script src="/uds/res/admin/runtime.js?stamp=1580734508" defer></script><script src="/uds/res/admin/polyfills-es5.js?stamp=1580734508" nomodule defer></script><script src="/uds/res/admin/polyfills.js?stamp=1580734508" defer></script><script src="/uds/res/admin/main.js?stamp=1580734508" defer></script></body>
|
||||
<script src="/uds/res/admin/runtime.js?stamp=1581076095" defer></script><script src="/uds/res/admin/polyfills-es5.js?stamp=1581076095" nomodule defer></script><script src="/uds/res/admin/polyfills.js?stamp=1581076095" defer></script><script src="/uds/res/admin/main.js?stamp=1581076095" defer></script></body>
|
||||
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user