File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -30,14 +30,14 @@ import { Debouncer } from '../../util/debouncer';
30
30
selector : 'ion-searchbar' ,
31
31
template :
32
32
'<div class="searchbar-input-container">' +
33
- '<button ion-button (click)="cancelSearchbar($event)" (mousedown)="cancelSearchbar($event)" clear color="dark" class="searchbar-md-cancel">' +
33
+ '<button ion-button (click)="cancelSearchbar($event)" (mousedown)="cancelSearchbar($event)" clear color="dark" class="searchbar-md-cancel" type="button" >' +
34
34
'<ion-icon name="arrow-back"></ion-icon>' +
35
35
'</button>' +
36
36
'<div #searchbarIcon class="searchbar-search-icon"></div>' +
37
37
'<input #searchbarInput [(ngModel)]="_value" [attr.placeholder]="placeholder" (input)="inputChanged($event)" (blur)="inputBlurred($event)" (focus)="inputFocused($event)" class="searchbar-input">' +
38
- '<button ion-button clear class="searchbar-clear-icon" (click)="clearInput($event)" (mousedown)="clearInput($event)"></button>' +
38
+ '<button ion-button clear class="searchbar-clear-icon" (click)="clearInput($event)" (mousedown)="clearInput($event)" type="button" ></button>' +
39
39
'</div>' +
40
- '<button ion-button #cancelButton [tabindex]="_isActive ? 1 : -1" clear (click)="cancelSearchbar($event)" (mousedown)="cancelSearchbar($event)" class="searchbar-ios-cancel">{{cancelButtonText}}</button>' ,
40
+ '<button ion-button #cancelButton [tabindex]="_isActive ? 1 : -1" clear (click)="cancelSearchbar($event)" (mousedown)="cancelSearchbar($event)" class="searchbar-ios-cancel" type="button" >{{cancelButtonText}}</button>' ,
41
41
host : {
42
42
'[class.searchbar-has-value]' : '_value' ,
43
43
'[class.searchbar-active]' : '_isActive' ,
You can’t perform that action at this time.
0 commit comments