Skip to content
This repository has been archived by the owner on Jan 14, 2022. It is now read-only.

Search box auto capitalization - Closes #823 #836

Merged
merged 2 commits into from
Dec 7, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/search/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<form role="search" data-ng-submit="sch.search()" data-ng-class="{'loading': sch.loading, 'active': !sch.mobileView || sch.activeForm}" class='search-box'>
<div class="wrapper" data-ng-class="{'has-error': sch.badQuery}">
<input id="search" type="text" class="input search" data-ng-model="sch.q" placeholder="Find a transaction, address, delegate or block"
data-ng-submit="sch.search()" data-ng-blur="sch.hideSuggestion()" autocomplete="off" />
data-ng-submit="sch.search()" data-ng-blur="sch.hideSuggestion()" autocomplete="off" autocapitalize="none" />
<span class="glyphicon" aria-hidden="true" data-ng-mousedown="sch.onSearchIconClick()" data-ng-class="{'glyphicon-remove': sch.mobileView && sch.activeForm, 'glyphicon-search': !sch.mobileView || !sch.activeForm}"></span>
<div class="search-suggestion-list list-group"
ng-if="sch.showingResults && sch.results">
Expand Down