feature/IO-3544-Ant-Select-Deprecation - Fix filtering

This commit is contained in:
Dave
2026-02-03 11:10:44 -05:00
parent cdfae5a429
commit c9620a3f6f
5 changed files with 10 additions and 10 deletions

View File

@@ -29,8 +29,8 @@ export function AllocationsAssignmentComponent({
<Select
id="employeeSelector"
showSearch={{
optionFilterProp: "children",
filterOption: (input, option) => option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0
optionFilterProp: "label",
filterOption: (input, option) => option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
}}
style={{ width: 200 }}
placeholder="Select a person"