Commit 61d42001071b1c51c88b1ab0064ea0fdf15e28cb
1 parent
6dbdaf2d
perf: device list create device product filed support search
Showing
1 changed file
with
3 additions
and
0 deletions
@@ -80,6 +80,9 @@ export const step1Schemas: FormSchema[] = [ | @@ -80,6 +80,9 @@ export const step1Schemas: FormSchema[] = [ | ||
80 | gatewayId: null, | 80 | gatewayId: null, |
81 | }); | 81 | }); |
82 | }, | 82 | }, |
83 | + showSearch: true, | ||
84 | + filterOption: (inputValue: string, option: Record<'label' | 'value', string>) => | ||
85 | + option.label.includes(inputValue), | ||
83 | }; | 86 | }; |
84 | }, | 87 | }, |
85 | }, | 88 | }, |