mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
fix(searchbar): clicking cancel wasn't removing the left alignment
This commit is contained in:
@ -24,6 +24,7 @@ import {Icon} from '../icon/icon';
|
|||||||
this.element = this.elementRef.nativeElement.querySelector('input');
|
this.element = this.elementRef.nativeElement.querySelector('input');
|
||||||
this.element.blur();
|
this.element.blur();
|
||||||
this.clearInput();
|
this.clearInput();
|
||||||
|
this.shouldLeftAlign = false;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
host: {
|
host: {
|
||||||
|
Reference in New Issue
Block a user