|
@@ -281,7 +281,7 @@ export default class DateInput extends BaseComponent<DateInputProps, {}> {
|
|
|
onChange={(rangeStartValue, e) => this.handleRangeInputChange(rangeStartValue, rangeEnd, e)}
|
|
|
onEnterPress={e => this.handleRangeInputEnterPress(e, rangeStart, rangeEnd)}
|
|
|
onFocus={e => this.handleRangeInputFocus(e as any, 'rangeStart')}
|
|
|
- autofocus={autofocus} // autofocus moved to range start
|
|
|
+ autoFocus={autofocus} // autofocus moved to range start
|
|
|
ref={rangeInputStartRef}
|
|
|
/>
|
|
|
</div>
|
|
@@ -462,7 +462,7 @@ export default class DateInput extends BaseComponent<DateInputProps, {}> {
|
|
|
value={text}
|
|
|
validateStatus={validateStatus}
|
|
|
prefix={prefix}
|
|
|
- autofocus={autofocus}
|
|
|
+ autoFocus={autofocus}
|
|
|
size={size}
|
|
|
onBlur={onBlur as any}
|
|
|
onFocus={onFocus as any}
|