Open chdanielmueller opened 6 years ago
Supporting the HTML5 autofocus for inputs on td-search-box
You can set autofocus and the search field is automatically in focus on a page load.
<td-search-box #searchBox [showUnderline]="false" (searchDebounce)="search($event)" autofocus></td-search-box>
We do have a list of items where 99% percent of the times you want to use the search. We could reduce one click from the user with an autofocus feature.
+1
Very much wanted!
Other libraries have it, surprised to see Covalent didn't.
Feature Request
Supporting the HTML5 autofocus for inputs on td-search-box
What is the expected behavior?
You can set autofocus and the search field is automatically in focus on a page load.
What is the motivation / use case for changing the behavior?
We do have a list of items where 99% percent of the times you want to use the search. We could reduce one click from the user with an autofocus feature.