-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
TextField maxLength property does not work for number type #4468
Comments
👋 Thanks for opening your first issue. A contributor should give feedback soon. If you haven’t already, please check out the contributing guidelines. |
same issue |
This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action. |
This is still an issue. |
November 2024 and this is still an issue... |
As of February 10, 2025, the issue still persists. However, I was able to make it work in my case by using the |
Issue summary
When using the
TextField
component, themaxLength
property does not work when thetype
property is set tonumber
.Expected behavior
Behavior should be the same for all
type
s. AmaxLength
of 3 with thetype
set to number should not allow the input of1234
.Actual behavior
There is no limit to the amount of numbers that can be input.
Steps to reproduce the problem
The text was updated successfully, but these errors were encountered: