fix: date-picker `autoFocus` not work
							parent
							
								
									7ed6885ec6
								
							
						
					
					
						commit
						264abff597
					
				|  | @ -169,6 +169,8 @@ export default function createPicker (TheCalendar, props) { | |||
|           <input | ||||
|             ref='input' | ||||
|             disabled={props.disabled} | ||||
|             onFocus={focus} | ||||
|             onBlur={blur} | ||||
|             readOnly | ||||
|             value={(inputValue && inputValue.format(props.format)) || ''} | ||||
|             placeholder={placeholder} | ||||
|  |  | |||
|  | @ -31,6 +31,7 @@ export const PickerProps = () => ({ | |||
|   pickerClass: PropTypes.string, | ||||
|   pickerInputClass: PropTypes.string, | ||||
|   timePicker: PropTypes.any, | ||||
|   autoFocus: PropTypes.bool, | ||||
| }) | ||||
| 
 | ||||
| export const SinglePickerProps = () => ({ | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 tjz
						tjz