fix(input): clearOnEdit clears input when user initially types (#26005)

This commit is contained in:
Sean Perkins
2022-10-10 14:00:10 -04:00
committed by GitHub
parent 85d3bd99be
commit bf5e118313
5 changed files with 131 additions and 61 deletions

View File

@ -826,7 +826,8 @@ has been changed.
For elements that accept text input (`type=text`, `type=tel`, etc.), the interface
is [`InputEvent`](https://developer.mozilla.org/en-US/docs/Web/API/InputEvent); for others,
the interface is [`Event`](https://developer.mozilla.org/en-US/docs/Web/API/Event).
the interface is [`Event`](https://developer.mozilla.org/en-US/docs/Web/API/Event). If
the input is cleared on edit, the type is `null`.
*/
ionInput: EventEmitter<CustomEvent<IInputInputInputEventDetail>>;
/**