0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-30 22:52:24 +01:00

Update Search input to type="search" (#21617)

This is semantically correct and works just as well.
This commit is contained in:
Christian Oliff 2017-01-16 14:44:27 +09:00 committed by Mark Otto
parent 44684a60e5
commit 5eb67091b5

View File

@ -1,5 +1,5 @@
<form class="bd-search hidden-sm-down">
<input type="text" class="form-control" id="search-input" placeholder="Search..." autocomplete="off">
<input type="search" class="form-control" id="search-input" placeholder="Search..." autocomplete="off">
<div class="dropdown-menu bd-search-results" id="search-results"></div>
</form>