Skip to content

Commit 6b060d7

Browse files
committed
fix(Select): unnecessary filterable when filter
1 parent e37511d commit 6b060d7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/components/select/hooks/useSelectOptions.ts

-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ export const useSelectOptions = (props: TdSelectProps, keys: Ref<KeysType>, inpu
105105
});
106106

107107
const filterMethods = (option: SelectOption) => {
108-
if (!props.filterable) return true;
109108
if (isFunction(props.filter)) {
110109
return props.filter(`${inputValue.value}`, option);
111110
}

0 commit comments

Comments
 (0)