|
@@ -44,7 +44,7 @@ class Input(ValidationElement, DisableableElement, component='input.js'):
|
|
:param autocomplete: optional list of strings for autocompletion
|
|
:param autocomplete: optional list of strings for autocompletion
|
|
:param validation: dictionary of validation rules, e.g. ``{'Too long!': lambda value: len(value) < 3}``
|
|
:param validation: dictionary of validation rules, e.g. ``{'Too long!': lambda value: len(value) < 3}``
|
|
"""
|
|
"""
|
|
- super().__init__(value=value, on_value_change=on_change, validation=validation or {})
|
|
|
|
|
|
+ super().__init__(value=value, on_value_change=on_change, validation=validation)
|
|
if label is not None:
|
|
if label is not None:
|
|
self._props['label'] = label
|
|
self._props['label'] = label
|
|
if placeholder is not None:
|
|
if placeholder is not None:
|