Skip to content

Commit 17dca56

Browse files
author
刘欢
committed
fix: Remove filterTreeNode and treeNodeFilterProp from OMIT_DOM_PROPS
1 parent e3af7a4 commit 17dca56

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/Select.tsx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,7 @@ import { fillFieldNames, flattenOptions, injectPropsWithOption } from './utils/v
5858
import warningProps, { warningNullOptions } from './utils/warningPropsUtil';
5959
import useSearchConfig from './hooks/useSearchConfig';
6060

61-
const OMIT_DOM_PROPS = [
62-
'inputValue',
63-
'filterOption',
64-
'optionFilterProp',
65-
'filterSort',
66-
'filterTreeNode',
67-
'treeNodeFilterProp',
68-
];
61+
const OMIT_DOM_PROPS = ['inputValue', 'filterOption', 'optionFilterProp', 'filterSort'];
6962

7063
export type OnActiveValue = (
7164
active: RawValueType,

0 commit comments

Comments
 (0)