Commit 166b869762a2c3e7307a3c404bec58331807df05
Merge remote-tracking branch 'origin/bug_fix'
Showing
1 changed file
with
1 additions
and
2 deletions
src/pages/pms/comonents/PmsSelect.tsx
... | ... | @@ -7,8 +7,7 @@ export default function Index(props: SelectProps) { |
7 | 7 | <Select |
8 | 8 | {...props} |
9 | 9 | showSearch |
10 | - // optionFilterProp="children" | |
11 | - filterOption={(input: any, option: any) => option.children.toLowerCase().indexOf(input.toLowerCase()) >= 0} | |
10 | + optionFilterProp="label" | |
12 | 11 | /> |
13 | 12 | ); |
14 | 13 | } |
15 | 14 | \ No newline at end of file | ... | ... |