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

Input symbolPattern attribute is not functional in 2.5.4 #272

Open
pozil opened this issue Dec 26, 2017 · 0 comments
Open

Input symbolPattern attribute is not functional in 2.5.4 #272

pozil opened this issue Dec 26, 2017 · 0 comments

Comments

@pozil
Copy link

pozil commented Dec 26, 2017

If I understood correctly, the purpose of the symbolPattern attribute of the Input component is to prevent unwanted input based on a regex.

I am trying to replicate the behavior of a standard HTML input with type=number so I am using symbolPattern="\d*" . However, I can still input non-digit characters.
Did I miss anything or is this a bug?

By the way, thanks for this great project.

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

No branches or pull requests

1 participant