Skip to content

Commit 18cbb43

Browse files
committed
Use Search input for Search
This has a few advantages, one of which is being able to press <kbd>Escape</kbd> to clear the input. It's more semantically correct too :-)
1 parent f09e4b1 commit 18cbb43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/common-docs/src/lib/common/search-input/search-input.component.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="input-container" [class.hideInput]="!showInput">
33
<input
44
#searchInput
5-
type="text"
5+
type="search"
66
aria-label="Search in docs"
77
name="search"
88
placeholder="Search..."

0 commit comments

Comments
 (0)