aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/TimePicker.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/TimePicker.jsx')
-rw-r--r--src/TimePicker.jsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/TimePicker.jsx b/src/TimePicker.jsx
index da47ac4..7d2395d 100644
--- a/src/TimePicker.jsx
+++ b/src/TimePicker.jsx
@@ -42,6 +42,7 @@ const Picker = React.createClass({
42 onClose: PropTypes.func, 42 onClose: PropTypes.func,
43 addon: PropTypes.func, 43 addon: PropTypes.func,
44 name: PropTypes.string, 44 name: PropTypes.string,
45 autoComplete: PropTypes.string,
45 }, 46 },
46 47
47 getDefaultProps() { 48 getDefaultProps() {
@@ -190,6 +191,7 @@ const Picker = React.createClass({
190 prefixCls, placeholder, placement, align, 191 prefixCls, placeholder, placement, align,
191 disabled, transitionName, style, className, showHour, 192 disabled, transitionName, style, className, showHour,
192 showMinute, showSecond, getPopupContainer, name, 193 showMinute, showSecond, getPopupContainer, name,
194 showSecond, getPopupContainer, autoComplete,
193 } = this.props; 195 } = this.props;
194 const { open, value } = this.state; 196 const { open, value } = this.state;
195 let popupClassName; 197 let popupClassName;
@@ -221,6 +223,7 @@ const Picker = React.createClass({
221 readOnly 223 readOnly
222 onKeyDown={this.onKeyDown} 224 onKeyDown={this.onKeyDown}
223 disabled={disabled} value={value && value.format(this.getFormat()) || ''} 225 disabled={disabled} value={value && value.format(this.getFormat()) || ''}
226 autoComplete={autoComplete}
224 /> 227 />
225 <span className={`${prefixCls}-icon`}/> 228 <span className={`${prefixCls}-icon`}/>
226 </span> 229 </span>