dash-core-components icon indicating copy to clipboard operation
dash-core-components copied to clipboard

Feature Request: Add a max character/digit limit on the Input component

Open TashaStenner opened this issue 3 years ago • 0 comments

Is there any work being done on restricting the number of characters or digits being entered?

For example: restricting the user to input 0-99 and 2 decimal places.

At the minute you are able to add either the step or the pattern attribute to the input which will make the input invalid and give's the user a helpful tooltip. However, this doesn't restrict the user's input at all.

Could you add a feature/attribute that would stop a user from entering more than _n decimal places/ _n character's.

TashaStenner avatar Dec 07 '21 14:12 TashaStenner