Skip to content
This repository was archived by the owner on Feb 1, 2022. It is now read-only.
This repository was archived by the owner on Feb 1, 2022. It is now read-only.

E042 when <input> has no type attribute shouldn't call the <input> non-textual #372

@Federico-G

Description

@Federico-G

Error message:
.form-control cannot be used on non-textual <input>s, such as those whose type 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions