A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/twbs/bootlint/wiki/E010 below:

E010 · twbs/bootlint Wiki · GitHub

Note: This check has been removed in Bootlint v1.x.

Input groups cannot contain multiple .form-controls

As mentioned in the documentation, Bootstrap does not support multiple form-controls in a single input group, regardless of where they are located within the input group.

Wrong (unsupported):

<div class="input-group">
  <span class="input-group-addon">$</span>
  <input type="text" class="form-control" placeholder="Dollars">
  <input type="text" class="form-control" placeholder="Cents">
</div>

Right (supported):

<div class="input-group">
  <span class="input-group-addon">$</span>
  <input type="text" class="form-control" placeholder="Amount">
</div>

Wrong (unsupported):

<div class="input-group">
  <input type="text" class="form-control" placeholder="Username">
  <span class="input-group-addon">@</span>
  <input type="text" class="form-control" placeholder="Domain">
</div>

Right (supported):

<div class="input-group">
  <input type="text" class="form-control" placeholder="Username">
  <span class="input-group-addon">@example.com</span>
</div>

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4