fix(textarea): clearOnEdit clears textarea when user initially types (#26006)

This commit is contained in:
Sean Perkins
2022-10-10 14:20:50 -04:00
committed by GitHub
parent bf5e118313
commit f7176bbb44
4 changed files with 63 additions and 22 deletions

View File

@ -1832,8 +1832,11 @@ has been modified.
*/
ionChange: EventEmitter<CustomEvent<ITextareaTextareaChangeEventDetail>>;
/**
* Ths `ionInput` event fires when the `value` of an `<ion-textarea>` element
has been changed.
* The `ionInput` event fires when the `value` of an `<ion-textarea>` element
has been changed.
When `clearOnEdit` is enabled, the `ionInput` event will be fired when
the user clears the textarea by performing a keydown event.
*/
ionInput: EventEmitter<CustomEvent<InputEvent | null>>;
/**