Fix multi-select menus and selected label rendering
This commit is contained in:
1 parent
0941ea06f9
commit
cfe8020831
10 files changed
+142
-38
No files matched your search
@@ -20,7 +20,7 @@ import { useState } from 'react';
|
||||
import { ComboBox } from '@/components/common/ComboBox';
|
||||
import { DateDisplay } from '@/components/common/DateDisplay';
|
||||
import { Empty } from '@/components/common/Empty';
|
||||
import { MultiSelect } from '@/components/common/MultiSelect';
|
||||
import { MultiSelect, MultiSelectItem } from '@/components/common/MultiSelect';
|
||||
import { useMessages, usePropertyValuesQuery } from '@/components/hooks';
|
||||
import type { PropertyDataSource } from '@/components/hooks/queries/usePropertyFieldsQuery';
|
||||
import { X } from '@/components/icons';
|
||||
@@ -222,9 +222,9 @@ export function PropertyFilterRecord({
|
||||
}
|
||||
>
|
||||
{filteredValues.map(v => (
|
||||
<ListItem key={v} id={v}>
|
||||
<MultiSelectItem key={v} value={v}>
|
||||
{v}
|
||||
</ListItem>
|
||||
</MultiSelectItem>
|
||||
))}
|
||||
</MultiSelect>
|
||||
)}
|
||||
|
||||
Reference in new issue
Block a user