Skip to content

Commit

Permalink
fix(combobox): allow disabling client side filtering (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishekv24 authored Mar 6, 2024
1 parent 5a10608 commit d763c20
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/apsara-ui/src/Combobox/Combobox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const Combobox = ({
allowClear = true,
showSearch = true,
showArrow = true,
filterOption = true,
placeholder,
optionFilterProp,
...props
Expand Down Expand Up @@ -89,7 +90,7 @@ const Combobox = ({
onSelect={onValueSelect}
onDeselect={onValueDeselect}
options={options}
filterOption={true}
filterOption={filterOption}
optionFilterProp={optionFilterProp || "value"}
animation="slide"
>
Expand Down

0 comments on commit d763c20

Please sign in to comment.