This repository has been archived by the owner on Jun 3, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 146
Input 'number' with min and max not checking manual input #173
Comments
I agree. When I saw the min/max parameters I assumed that the user inputs would be checked in some way. Allowing any input anyway kind of defeats the purpose (or at least make the forced check configurable). |
Me too. Trying solve it by making something like: @app.callback(Output('agentT', 'value'), leads me to a failure of layout loading with no logs in the console... Are there other ways to check the limits of a manual input? I have 46 numeric fields in my project... |
Merged
A fix is included in |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The
dcc.Input
component set totype='number'
withmin
andmax
defined checks the value only when using the input's arrows. On manual input any value can be entered, only regexp fornumber
is checked.I think it should apply
min
when entered manually value is lower than allowed andmax
when it is greater than allowed. For example on focus lose or mouse click or even after some delay of not typing.The text was updated successfully, but these errors were encountered: