refactor(searchbar): fixing event emitters, outputs and inputs, removing ngControl requirement from Searchbar

This commit is contained in:
Brandy Carney
2015-12-18 18:04:15 -05:00
parent 20585106ff
commit 53dd312b39
4 changed files with 39 additions and 62 deletions

View File

@ -489,10 +489,8 @@ export class TextInputElement {
}
ngOnInit() {
if (this.ngModel) console.log("Value", this.ngModel);
if (this.ngModel) this.value = this.ngModel;
this.wrapper && this.wrapper.hasValue(this.value);
console.log(this.value);
}
focusChange(changed) {