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
In the new VNumberInput widget If I enter a value outside the min-max range I expect it will be changed to a value equal min or max when pushing Enter or widget losing focus. Currently the value is so adjusted only if I push increase/decrease buttons.
Also, if out-of range value is not passed to v-model variable, we have an inconsistency between show value and variable value.
Proposed solution
Add an event listener to Enter key and blur events and check the value against min/max adjusting it before passing to v-model. Adjust visualized value accordingly.
The text was updated successfully, but these errors were encountered:
Problem to solve
In the new VNumberInput widget If I enter a value outside the min-max range I expect it will be changed to a value equal min or max when pushing Enter or widget losing focus. Currently the value is so adjusted only if I push increase/decrease buttons.
Also, if out-of range value is not passed to v-model variable, we have an inconsistency between show value and variable value.
Proposed solution
Add an event listener to Enter key and blur events and check the value against min/max adjusting it before passing to v-model. Adjust visualized value accordingly.
The text was updated successfully, but these errors were encountered: