We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Issue
the max-length property is not valid for input type number.
max-length
number
Solution
Something like this (just an idea).
const textInputs = ['email', 'password', 'search', 'tel', 'text', 'url']; let maxLength = null if (textInputs.includes(input.type)) { maxLength = 'existing logic here' }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue
the
max-length
property is not valid for input typenumber
.Solution
Something like this (just an idea).
The text was updated successfully, but these errors were encountered: