diff --git a/nicegui/elements/mixins/validation_element.py b/nicegui/elements/mixins/validation_element.py index ff3d9f7e0..6a284addc 100644 --- a/nicegui/elements/mixins/validation_element.py +++ b/nicegui/elements/mixins/validation_element.py @@ -12,6 +12,7 @@ def __init__(self, validation: Optional[Union[Callable[..., Optional[str]], Dict self._auto_validation = True self._error: Optional[str] = None super().__init__(**kwargs) + self._props['error'] = False # NOTE: reserve bottom space for error message @property def error(self) -> Optional[str]: