Skip to content

Commit e968a1a

Browse files
authored
Fix Combobox/Grouping example for SolidJS (#3560)
1 parent 0a5a154 commit e968a1a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/solid/src/components/combobox/examples/grouping.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export const Grouping = () => {
99
const { collection, filter } = useListCollection({
1010
initialItems,
1111
filter: filterFn().contains,
12+
groupBy: (item) => item.type,
1213
})
1314

1415
const handleInputChange = (details: Combobox.InputValueChangeDetails) => {

0 commit comments

Comments
 (0)