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
The issue arises when users manually enter a value in a number input field, bypassing constraints like the step prop. This can lead to inconsistent behavior and confusion. Making the input read-only would enforce the use of increment and decrement buttons, aligning user input with the intended constraints.
Proposed solution
Introduce a disableInput prop (or similar) to allow developers to make the input field read-only. When this prop is enabled, users can only change the value using the increment and decrement buttons.
Problem to solve
The issue arises when users manually enter a value in a number input field, bypassing constraints like the step prop. This can lead to inconsistent behavior and confusion. Making the input read-only would enforce the use of increment and decrement buttons, aligning user input with the intended constraints.
Proposed solution
Introduce a
disableInput
prop (or similar) to allow developers to make the input field read-only. When this prop is enabled, users can only change the value using the increment and decrement buttons.The text was updated successfully, but these errors were encountered: