fix(searchbar): clicking cancel wasn't removing the left alignment

This commit is contained in:
Brandy Carney
2015-11-24 15:26:49 -05:00
parent 6bac56bd38
commit 656b135d98

View File

@ -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: {