mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
remove autocomplete
This commit is contained in:
parent
fac48547a6
commit
a720e23a51
@ -16,12 +16,12 @@
|
|||||||
<p>For the sake of this demonstration, we are using <code>data-loading-text</code> and <code>$().button('loading')</code>, but that's not the only state you can use. <a href="#buttons-methods">See more on this below in the <code>$().button(string)</code> documentation</a>.</p>
|
<p>For the sake of this demonstration, we are using <code>data-loading-text</code> and <code>$().button('loading')</code>, but that's not the only state you can use. <a href="#buttons-methods">See more on this below in the <code>$().button(string)</code> documentation</a>.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="bs-example">
|
<div class="bs-example">
|
||||||
<button type="button" id="loading-example-btn" data-loading-text="Loading..." class="btn btn-primary" autocomplete="off">
|
<button type="button" id="loading-example-btn" data-loading-text="Loading..." class="btn btn-primary">
|
||||||
Loading state
|
Loading state
|
||||||
</button>
|
</button>
|
||||||
</div><!-- /example -->
|
</div><!-- /example -->
|
||||||
{% highlight html %}
|
{% highlight html %}
|
||||||
<button type="button" id="myButton" data-loading-text="Loading..." class="btn btn-primary" autocomplete="off">
|
<button type="button" id="myButton" data-loading-text="Loading..." class="btn btn-primary">
|
||||||
Loading state
|
Loading state
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
@ -41,12 +41,12 @@
|
|||||||
<p>For pre-toggled buttons, you must add the <code>.active</code> class and the <code>aria-pressed="true"</code> attribute to the <code>button</code> yourself.</p>
|
<p>For pre-toggled buttons, you must add the <code>.active</code> class and the <code>aria-pressed="true"</code> attribute to the <code>button</code> yourself.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="bs-example">
|
<div class="bs-example">
|
||||||
<button type="button" class="btn btn-primary" data-toggle="button" aria-pressed="false" autocomplete="off">
|
<button type="button" class="btn btn-primary" data-toggle="button" aria-pressed="false">
|
||||||
Single toggle
|
Single toggle
|
||||||
</button>
|
</button>
|
||||||
</div><!-- /example -->
|
</div><!-- /example -->
|
||||||
{% highlight html %}
|
{% highlight html %}
|
||||||
<button type="button" class="btn btn-primary" data-toggle="button" aria-pressed="false" autocomplete="off">
|
<button type="button" class="btn btn-primary" data-toggle="button" aria-pressed="false">
|
||||||
Single toggle
|
Single toggle
|
||||||
</button>
|
</button>
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
@ -64,26 +64,26 @@
|
|||||||
<div class="bs-example" data-example-id="buttons-checkbox">
|
<div class="bs-example" data-example-id="buttons-checkbox">
|
||||||
<div class="btn-group" data-toggle="buttons">
|
<div class="btn-group" data-toggle="buttons">
|
||||||
<label class="btn btn-primary active">
|
<label class="btn btn-primary active">
|
||||||
<input type="checkbox" checked autocomplete="off"> Checkbox 1 (pre-checked)
|
<input type="checkbox" checked> Checkbox 1 (pre-checked)
|
||||||
</label>
|
</label>
|
||||||
<label class="btn btn-primary">
|
<label class="btn btn-primary">
|
||||||
<input type="checkbox" autocomplete="off"> Checkbox 2
|
<input type="checkbox"> Checkbox 2
|
||||||
</label>
|
</label>
|
||||||
<label class="btn btn-primary">
|
<label class="btn btn-primary">
|
||||||
<input type="checkbox" autocomplete="off"> Checkbox 3
|
<input type="checkbox"> Checkbox 3
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div><!-- /example -->
|
</div><!-- /example -->
|
||||||
{% highlight html %}
|
{% highlight html %}
|
||||||
<div class="btn-group" data-toggle="buttons">
|
<div class="btn-group" data-toggle="buttons">
|
||||||
<label class="btn btn-primary active">
|
<label class="btn btn-primary active">
|
||||||
<input type="checkbox" autocomplete="off" checked> Checkbox 1 (pre-checked)
|
<input type="checkbox" checked> Checkbox 1 (pre-checked)
|
||||||
</label>
|
</label>
|
||||||
<label class="btn btn-primary">
|
<label class="btn btn-primary">
|
||||||
<input type="checkbox" autocomplete="off"> Checkbox 2
|
<input type="checkbox"> Checkbox 2
|
||||||
</label>
|
</label>
|
||||||
<label class="btn btn-primary">
|
<label class="btn btn-primary">
|
||||||
<input type="checkbox" autocomplete="off"> Checkbox 3
|
<input type="checkbox"> Checkbox 3
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
@ -91,26 +91,26 @@
|
|||||||
<div class="bs-example" data-example-id="buttons-radio">
|
<div class="bs-example" data-example-id="buttons-radio">
|
||||||
<div class="btn-group" data-toggle="buttons">
|
<div class="btn-group" data-toggle="buttons">
|
||||||
<label class="btn btn-primary active">
|
<label class="btn btn-primary active">
|
||||||
<input type="radio" name="options" id="option1" autocomplete="off" checked> Radio 1 (preselected)
|
<input type="radio" name="options" id="option1" checked> Radio 1 (preselected)
|
||||||
</label>
|
</label>
|
||||||
<label class="btn btn-primary">
|
<label class="btn btn-primary">
|
||||||
<input type="radio" name="options" id="option2" autocomplete="off"> Radio 2
|
<input type="radio" name="options" id="option2"> Radio 2
|
||||||
</label>
|
</label>
|
||||||
<label class="btn btn-primary">
|
<label class="btn btn-primary">
|
||||||
<input type="radio" name="options" id="option3" autocomplete="off"> Radio 3
|
<input type="radio" name="options" id="option3"> Radio 3
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div><!-- /example -->
|
</div><!-- /example -->
|
||||||
{% highlight html %}
|
{% highlight html %}
|
||||||
<div class="btn-group" data-toggle="buttons">
|
<div class="btn-group" data-toggle="buttons">
|
||||||
<label class="btn btn-primary active">
|
<label class="btn btn-primary active">
|
||||||
<input type="radio" name="options" id="option1" autocomplete="off" checked> Radio 1 (preselected)
|
<input type="radio" name="options" id="option1" checked> Radio 1 (preselected)
|
||||||
</label>
|
</label>
|
||||||
<label class="btn btn-primary">
|
<label class="btn btn-primary">
|
||||||
<input type="radio" name="options" id="option2" autocomplete="off"> Radio 2
|
<input type="radio" name="options" id="option2"> Radio 2
|
||||||
</label>
|
</label>
|
||||||
<label class="btn btn-primary">
|
<label class="btn btn-primary">
|
||||||
<input type="radio" name="options" id="option3" autocomplete="off"> Radio 3
|
<input type="radio" name="options" id="option3"> Radio 3
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
@ -126,7 +126,7 @@
|
|||||||
<p>Swaps text to any data defined text state.</p>
|
<p>Swaps text to any data defined text state.</p>
|
||||||
|
|
||||||
{% highlight html %}
|
{% highlight html %}
|
||||||
<button type="button" id="myStateButton" data-complete-text="finished!" class="btn btn-primary" autocomplete="off">
|
<button type="button" id="myStateButton" data-complete-text="finished!" class="btn btn-primary">
|
||||||
...
|
...
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user