diff --git a/components/cascader/index.jsx b/components/cascader/index.jsx index 30e906635..242b82aab 100644 --- a/components/cascader/index.jsx +++ b/components/cascader/index.jsx @@ -485,7 +485,7 @@ const Cascader = { value: inputValue, disabled, readonly: !showSearch, - autoComplete: 'off', + autocomplete: 'off', class: `${prefixCls}-input ${sizeCls}`, onFocus: showSearch ? this.handleInputFocus : noop, onClick: showSearch ? this.handleInputClick : noop, diff --git a/components/vc-input-number/src/index.js b/components/vc-input-number/src/index.js index 2d66aeb28..bca0c4bd0 100755 --- a/components/vc-input-number/src/index.js +++ b/components/vc-input-number/src/index.js @@ -72,7 +72,7 @@ const inputNumberProps = { required: PropTypes.bool, pattern: PropTypes.string, decimalSeparator: PropTypes.string, - autoComplete: PropTypes.string, + autocomplete: PropTypes.string, title: PropTypes.string, name: PropTypes.string, id: PropTypes.string, @@ -95,7 +95,7 @@ export default { step: 1, parser: defaultParser, required: false, - autoComplete: 'off', + autocomplete: 'off', }), data() { const props = getOptionProps(this); @@ -642,7 +642,7 @@ export default { disabled, readonly, useTouch, - autoComplete, + autocomplete, upHandler, downHandler, class: className, @@ -778,7 +778,7 @@ export default { onClick={this.handleInputClick} class={`${prefixCls}-input`} tabindex={this.tabindex} - autoComplete={autoComplete} + autocomplete={autocomplete} onFocus={this.onFocus} onBlur={this.onBlur} onKeydown={editable ? this.onKeyDown : noop} diff --git a/components/vc-select/Select.jsx b/components/vc-select/Select.jsx index 38e8c0f3a..f72f1517d 100644 --- a/components/vc-select/Select.jsx +++ b/components/vc-select/Select.jsx @@ -771,7 +771,7 @@ const Select = { const { _inputValue: inputValue } = this.$data; const attrs = this.$attrs; const defaultInput = ( - + ); const inputElement = props.getInputElement ? props.getInputElement() : defaultInput; diff --git a/components/vc-time-picker/TimePicker.jsx b/components/vc-time-picker/TimePicker.jsx index be0224d4f..b8ceef059 100644 --- a/components/vc-time-picker/TimePicker.jsx +++ b/components/vc-time-picker/TimePicker.jsx @@ -58,7 +58,7 @@ export default { // onFocus: PropTypes.func, // onBlur: PropTypes.func, name: PropTypes.string, - autoComplete: PropTypes.string, + autocomplete: PropTypes.string, use12Hours: PropTypes.bool, hourStep: PropTypes.number, minuteStep: PropTypes.number, @@ -334,7 +334,7 @@ export default { transitionName, getPopupContainer, name, - autoComplete, + autocomplete, autoFocus, inputReadOnly, sOpen, @@ -371,7 +371,7 @@ export default { onKeydown={this.onKeyDown} disabled={disabled} value={(sValue && sValue.format(this.getFormat())) || ''} - autoComplete={autoComplete} + autocomplete={autocomplete} onFocus={onFocus} onBlur={onBlur} autoFocus={autoFocus}