feat(searchbar): ionInput now emits value payload (#26831)

resolves #26828

BREAKING CHANGE:

The `detail` payload for the `ionInput` event now on `ion-searchbar` contains an object with the current `value` as well as the native event that triggered `ionInput`.
This commit is contained in:
Liam DeBeasi
2023-02-23 12:15:43 -05:00
committed by GitHub
parent fcfdd9e9ba
commit 865f8de9dc
11 changed files with 55 additions and 34 deletions

View File

@ -1,5 +1,11 @@
export interface SearchbarChangeEventDetail {
value?: string | null;
event?: Event;
}
export interface SearchbarInputEventDetail {
value?: string | null;
event?: Event;
}
export interface SearchbarCustomEvent extends CustomEvent {