Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

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

Open
TashaStenner opened this issue Dec 7, 2021 · 0 comments

Comments

@TashaStenner
Copy link

TashaStenner commented Dec 7, 2021

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant