diff --git a/packages/core/client/src/schema-component/antd/collection-select/CollectionSelect.tsx b/packages/core/client/src/schema-component/antd/collection-select/CollectionSelect.tsx index 968d59a96..84cdc4cc6 100644 --- a/packages/core/client/src/schema-component/antd/collection-select/CollectionSelect.tsx +++ b/packages/core/client/src/schema-component/antd/collection-select/CollectionSelect.tsx @@ -52,7 +52,10 @@ export const CollectionSelect = connect( popupMatchSelectWidth={false} {...others} showSearch - filterOption={(input, option) => (option?.label ?? '').includes(input)} + filterOption={(input, option) => + (option?.label.toLowerCase() ?? '').includes(input.toLocaleLowerCase()) || + (option?.value.toString().toLowerCase() ?? '').includes(input.toLocaleLowerCase()) + } options={options} /> );