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
const wrapper = mount( <InputText type="text" label="email" maxLength={10} /> );
the actual result render is <input type="text" maxlength="10">
<input type="text" maxlength="10">
isn't the result is max-length ?
max-length
The text was updated successfully, but these errors were encountered:
Based on this fiddle, it seems that react itself renders to maxlength.
maxlength
http://jsbin.com/tutamofeyo/edit?js,console,output
and according to mozilla docs, it is correct. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-maxlength
Sorry, something went wrong.
No branches or pull requests
the actual result render is
<input type="text" maxlength="10">
isn't the result is
max-length
?The text was updated successfully, but these errors were encountered: