File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -76,6 +76,7 @@ export interface RangePickerSharedProps<DateType> {
7676 onBlur ?: React . FocusEventHandler < HTMLInputElement > ;
7777 onOk ?: ( dates : RangeValue < DateType > ) => void ;
7878 direction ?: 'ltr' | 'rtl' ;
79+ autoComplete ?: string ;
7980 /** @private Internal control of active picker. Do not use since it's private usage */
8081 activePickerIndex ?: 0 | 1 ;
8182}
@@ -182,6 +183,7 @@ function InnerRangePicker<DateType>(props: RangePickerProps<DateType>) {
182183 order,
183184 direction,
184185 activePickerIndex,
186+ autoComplete,
185187 } = props as MergedRangePickerProps < DateType > ;
186188
187189 const needConfirmButton : boolean = ( picker === 'date' && ! ! showTime ) || picker === 'time' ;
@@ -907,6 +909,7 @@ function InnerRangePicker<DateType>(props: RangePickerProps<DateType>) {
907909 ref = { startInputRef }
908910 { ...startInputProps }
909911 { ...inputSharedProps }
912+ autoComplete = { autoComplete }
910913 />
911914 </ div >
912915 < div className = { `${ prefixCls } -range-separator` } ref = { separatorRef } >
@@ -929,6 +932,7 @@ function InnerRangePicker<DateType>(props: RangePickerProps<DateType>) {
929932 ref = { endInputRef }
930933 { ...endInputProps }
931934 { ...inputSharedProps }
935+ autoComplete = { autoComplete }
932936 />
933937 </ div >
934938 < div
You can’t perform that action at this time.
0 commit comments