mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Merge branch 'alpha50' into css-refactor
This commit is contained in:
@@ -75,7 +75,7 @@ export class Searchbar extends Ion {
|
||||
* After the view has initialized check if the searchbar has a value
|
||||
* and then store that value in query
|
||||
*/
|
||||
afterViewInit() {
|
||||
ngAfterViewInit() {
|
||||
// If the user passes in a value to the model we should left align
|
||||
this.shouldLeftAlign = this.ngControl.value && this.ngControl.value.trim() != '';
|
||||
this.query = this.ngControl.value || '';
|
||||
|
||||
Reference in New Issue
Block a user