mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Merge pull request #6463 from cvrebert/input-required-docs-fix-3.0.0
update 3.0.0 docs to reflect #5786
This commit is contained in:
commit
3773b99969
2 changed files with 2 additions and 2 deletions
|
@ -1626,7 +1626,7 @@ For example, <code>&lt;section&gt;</code> should be wrapped
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<h3 id="forms-invalid-inputs">Invalid inputs</h3>
|
<h3 id="forms-invalid-inputs">Invalid inputs</h3>
|
||||||
<p>Style inputs via default browser functionality with <code>:invalid</code>. Specify a <code>type</code> and add the <code>required</code> attribute.</p>
|
<p>Style inputs via default browser functionality with <code>:invalid</code>. Specify a <code>type</code>, add the <code>required</code> attribute if the field is not optional, and (if applicable) specify a <code>pattern</code>.</p>
|
||||||
<form class="bs-docs-example form-inline">
|
<form class="bs-docs-example form-inline">
|
||||||
<input class="span3" type="email" placeholder="test@example.com" required>
|
<input class="span3" type="email" placeholder="test@example.com" required>
|
||||||
</form>
|
</form>
|
||||||
|
|
2
docs/templates/pages/css.mustache
vendored
2
docs/templates/pages/css.mustache
vendored
|
@ -1566,7 +1566,7 @@ For example, <code>&lt;section&gt;</code> should be wrapped
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<h3 id="forms-invalid-inputs">Invalid inputs</h3>
|
<h3 id="forms-invalid-inputs">Invalid inputs</h3>
|
||||||
<p>Style inputs via default browser functionality with <code>:invalid</code>. Specify a <code>type</code> and add the <code>required</code> attribute.</p>
|
<p>Style inputs via default browser functionality with <code>:invalid</code>. Specify a <code>type</code>, add the <code>required</code> attribute if the field is not optional, and (if applicable) specify a <code>pattern</code>.</p>
|
||||||
<form class="bs-docs-example form-inline">
|
<form class="bs-docs-example form-inline">
|
||||||
<input class="span3" type="email" placeholder="test@example.com" required>
|
<input class="span3" type="email" placeholder="test@example.com" required>
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Reference in a new issue