| onChange | Function | null | called when select a different value |
| placement | String | bottomLeft | one of ['left','right','top','bottom', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight'] |
| transitionName | String | '' | |
+| autoComplete | String | 'yes' | one of ['yes', 'no'] |
## Test Case
onChange: PropTypes.func,
onOpen: PropTypes.func,
onClose: PropTypes.func,
+ autoComplete: PropTypes.string,
},
getDefaultProps() {
onChange: noop,
onOpen: noop,
onClose: noop,
+ autoComplete: 'yes',
};
},
const {
prefixCls, placeholder, placement, align,
disabled, transitionName, style, className, showHour,
- showSecond, getPopupContainer,
+ showSecond, getPopupContainer, autoComplete,
} = this.props;
const { open, value } = this.state;
let popupClassName;
readOnly
onKeyDown={this.onKeyDown}
disabled={disabled} value={value && value.format(this.getFormat()) || ''}
+ autoComplete={autoComplete}
/>
<span className={`${prefixCls}-icon`}/>
</span>