Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide support for "masks" in InputField component #668

Open
ghost opened this issue Aug 29, 2022 · 0 comments
Open

Provide support for "masks" in InputField component #668

ghost opened this issue Aug 29, 2022 · 0 comments
Labels
discussion Extra attention is needed headless All about headless components and foundations

Comments

@ghost
Copy link

ghost commented Aug 29, 2022

As a common use case, an InputField should only allow some well defined patterns, like only numbers in a specific format like money amounts or credit card numbers and so on. This is where so called "masks" come into play.

As a really neat feature we should try to find some good support for such uses cases on the "headless" level API of InputField component.

We should have a look at https://imask.js.org/

Key questions to solve:

  • abstraction over the possibilities of the underlying JS lib or better expose its API?
  • make its usage optional!
@ghost ghost added discussion Extra attention is needed headless All about headless components and foundations labels Aug 29, 2022
@ghost ghost added this to the 1.0-RC3 milestone Aug 30, 2022
@ghost ghost modified the milestones: 1.0-RC3, 1.0-RC4 Nov 23, 2022
@ghost ghost removed this from the 1.0-RC4 milestone Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Extra attention is needed headless All about headless components and foundations
Projects
None yet
Development

No branches or pull requests

0 participants