mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 16:59:12 +00:00
fix(filters): quality multi select not closing (#725)
fix: drop down menu interactions
This commit is contained in:
parent
bd2769f3f2
commit
25e2dbf9d6
1 changed files with 2 additions and 1 deletions
|
@ -65,7 +65,7 @@ export const MultiSelect = ({
|
|||
}: FieldProps) => (
|
||||
<RMSC
|
||||
{...field}
|
||||
options={[...[...options, ...field.value.map((i: MultiSelectOption) => ({ value: i.value ?? i, label: i.label ?? i }))].reduce((map, obj) => map.set(obj.value, obj), new Map()).values()]}
|
||||
options={options}
|
||||
disabled={disabled}
|
||||
labelledBy={name}
|
||||
isCreatable={creatable}
|
||||
|
@ -87,6 +87,7 @@ export const MultiSelect = ({
|
|||
);
|
||||
};
|
||||
|
||||
|
||||
interface IndexerMultiSelectOption {
|
||||
id: number;
|
||||
name: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue