fixed max length on text fields

This commit is contained in:
Adolfo Gómez García 2020-02-07 12:49:15 +01:00
parent 5b8e346788
commit 4ecb520496
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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>