Skip to content

Commit

Permalink
fix(antd/next): valueType should not be required attribute since it h…
Browse files Browse the repository at this point in the history
…as default value (#3036)
  • Loading branch information
McDaddy authored Apr 11, 2022
1 parent c26e011 commit 7b8669b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/antd/src/select-table/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export interface ISelectTableProps extends TableProps<any> {
mode?: 'multiple' | 'single'
dataSource?: any[]
optionAsValue?: boolean
valueType: 'all' | 'parent' | 'child' | 'path'
valueType?: 'all' | 'parent' | 'child' | 'path'
showSearch?: boolean
searchProps?: SearchProps
primaryKey?: string | ((record: any) => string)
Expand Down
2 changes: 1 addition & 1 deletion packages/next/src/select-table/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export interface ISelectTableProps
mode?: 'multiple' | 'single'
dataSource?: any[]
optionAsValue?: boolean
valueType: 'all' | 'parent' | 'child' | 'path'
valueType?: 'all' | 'parent' | 'child' | 'path'
showSearch?: boolean
searchProps?: SearchProps
primaryKey?: string | ((record: any) => string)
Expand Down

0 comments on commit 7b8669b

Please sign in to comment.