mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 10:41:13 +08:00
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:
@ -134,6 +134,7 @@ export class Textarea implements ComponentInterface {
|
||||
if (nativeInput && nativeInput.value !== value) {
|
||||
nativeInput.value = value;
|
||||
}
|
||||
this.emitStyle();
|
||||
this.ionChange.emit({ value });
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user