fix(input): show clear-input on inputs with ngModel/formControlName

fixes #9077
This commit is contained in:
Brandy Carney
2017-01-23 12:35:44 -05:00
committed by Adam Bradley
parent 2ee05b878c
commit 7a6ba2d300
3 changed files with 32 additions and 0 deletions

View File

@ -301,6 +301,7 @@ export class TextInput extends Ion implements IonicFormInput {
nativeInput.valueChange.subscribe((inputValue: any) => {
this.onChange(inputValue);
this.checkHasValue(inputValue);
});
nativeInput.keydown.subscribe((inputValue: any) => {