Skip to content
This repository has been archived by the owner on Sep 18, 2018. It is now read-only.
Herst edited this page Sep 8, 2018 · 2 revisions

Note: Below is the original page from the Bootlint documentation, some of the info here might not apply to Bootlint-NG!


W017

Found one or more <input>s missing a type attribute.

It's best-practice to always set an explicit type on <input>s. If an <input> lacks a type attribute, it defaults to being a type="text".

Bootstrap will only fully style <input>s which have a valid type attribute.

Wrong:

<input value="Something">

Right:

<input type="text" value="Something">