fix(textarea): float label when a value is changed async (#18024)

emits styles to the parent item on value change so that the item will get the proper class to float the label

fixes #17555 fixes #17559
This commit is contained in:
Brandy Carney
2019-04-12 13:23:04 -04:00
committed by GitHub
parent 1199c53437
commit 494991e9fb
3 changed files with 24 additions and 20 deletions

View File

@ -134,6 +134,7 @@ export class Textarea implements ComponentInterface {
if (nativeInput && nativeInput.value !== value) {
nativeInput.value = value;
}
this.emitStyle();
this.ionChange.emit({ value });
}