diff --git a/components/auto-complete/index.tsx b/components/auto-complete/index.tsx index bdef65ed05..0b68cad89b 100755 --- a/components/auto-complete/index.tsx +++ b/components/auto-complete/index.tsx @@ -21,7 +21,7 @@ export type ValidInputElement = export interface AutoCompleteProps extends AbstractSelectProps { value?: SelectValue; defaultValue?: SelectValue; - dataSource: DataSourceItemType[]; + dataSource?: DataSourceItemType[]; optionLabelProp?: string; onChange?: (value: SelectValue) => void; onSelect?: (value: SelectValue, option: Object) => any;