Skip to content

Commit e53dda1

Browse files
committed
feat: migrate components in chip input to runes
1 parent 8201ec2 commit e53dda1

12 files changed

+236
-179
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ Svelte 5 Runes mode is being migrated to slowly. This is the todo list of compon
168168
- [x] Autocomplete
169169
- [x] Checkbox
170170
- [x] Chips
171-
- [ ] Chip Input
171+
- [x] Chip Input
172172
- [x] Floating Label
173173
- [x] Form Field
174174
- [x] Line Ripple

packages/autocomplete/src/Autocomplete.svelte

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,15 @@
88
[className]: true,
99
'smui-autocomplete': true,
1010
})}
11+
{...exclude(restProps, ['menu$', 'textfield$', 'list$'])}
1112
onfocusout={(
1213
event: FocusEvent & { currentTarget: EventTarget & HTMLDivElement },
1314
) => {
1415
if (!disabled) {
1516
handleElementBlur(event);
1617
}
18+
restProps.onfocusout?.(event);
1719
}}
18-
{...exclude(restProps, ['menu$', 'textfield$', 'list$'])}
1920
>
2021
<div
2122
bind:this={inputContainer}

0 commit comments

Comments
 (0)