You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.
Hmm, it is confusing for the message to call the input non-textual when it is implicitly textual.
We should ought to emit a clearer message in that case.
cvrebert
changed the title
E042 when tag input do not have an explicit type
E042 when <input> has no type attribute shouldn't call the <input> non-textual
Apr 6, 2016
Not sure if I should add as a separate issue or not, but this error also fires when type = "password" which, while masked, is still a text input. The Bootstrap documentation for 3 and 4, shows examples of , which would indicate this is an incorrect error response. https://getbootstrap.com/docs/3.3/css/#forms
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Error message:
.form-control
cannot be used on non-textual<input>
s, such as those whosetype
is:file
,checkbox
,radio
,range
,button
https://www.w3.org/TR/html5/forms.html#the-input-element
The missing value default is the Text state.
https://www.w3.org/TR/html4/interact/forms.html#h-17.4
This attribute specifies the type of control to create. The default value for this attribute is "text".
If I write an input tag without a type, this error should not be trigger, does it?
The text was updated successfully, but these errors were encountered: