fix(multi-select): forward on:input for filterable variant (#2170)

This commit is contained in:
Nick Wing 2025-06-10 17:31:28 -05:00 committed by GitHub
commit aecc4e8eec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 8 additions and 0 deletions

View file

@ -2419,6 +2419,7 @@ export interface MultiSelectItem {
| clear | dispatched | <code>null</code> |
| blur | dispatched | <code>FocusEvent &#124; CustomEvent<FocusEvent></code> |
| keydown | forwarded | -- |
| input | forwarded | -- |
| keyup | forwarded | -- |
| focus | forwarded | -- |
| paste | forwarded | -- |

View file

@ -8943,6 +8943,11 @@
"name": "keydown",
"element": "input"
},
{
"type": "forwarded",
"name": "input",
"element": "input"
},
{
"type": "forwarded",
"name": "keyup",

View file

@ -459,6 +459,7 @@
if (!open) open = true;
}
}}
on:input
on:keyup
on:focus
on:blur

View file

@ -255,6 +255,7 @@ export default class MultiSelect extends SvelteComponentTyped<
clear: CustomEvent<null>;
blur: FocusEvent | CustomEvent<FocusEvent>;
keydown: WindowEventMap["keydown"];
input: WindowEventMap["input"];
keyup: WindowEventMap["keyup"];
focus: WindowEventMap["focus"];
paste: WindowEventMap["paste"];