You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ValidatedEntryBox keeps the success tick while an invalid value is typed #271
ValidatedEntryBox only validates on focus out and Return. A success tick from an earlier valid value stays while an invalid value is typed, and the error only appears when the form is submitted.
Example: typing test into a float entry kept showing the tick.
How to replicate:
Create a ValidatedEntryBox(value_type=float), enter 50 and tab out (tick shows), then click back in and type test without leaving the box: the tick stays and no error is shown.
Expected behaviour:
Validate as the value changes, so an invalid value loses the tick and shows its error straight away. An empty optional entry shows neither. Add validate_on_change=False to keep the old behaviour.
Activity