Skip to content

Commit

Permalink
Use null for single empty value
Browse files Browse the repository at this point in the history
  • Loading branch information
WithoutPants committed Sep 25, 2023
1 parent 4279764 commit c0b98ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/v2.5/src/components/Shared/FilterSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const SelectComponent = <T, IsMulti extends boolean>(
...props,
styles,
defaultOptions: true,
value: selectedOptions,
value: selectedOptions ?? null,
className: cx("react-select", props.className),
classNamePrefix: "react-select",
noOptionsMessage: () => noOptionsMessage,
Expand Down

0 comments on commit c0b98ce

Please sign in to comment.