This repository was archived by the owner on Jul 19, 2019. It is now read-only.
File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ Default value: `{}`
53
53
Props that are applied to the ` <input /> ` element rendered by
54
54
` Autocomplete ` . Any properties supported by ` HTMLInputElement ` can be
55
55
specified, apart from the following which are set by ` Autocomplete ` :
56
- value, autoComplete, role, aria-autocomplete
56
+ value, role, aria-autocomplete
57
57
58
58
### ` menuStyle: Object ` (optional)
59
59
Default value:
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ let Autocomplete = React.createClass({
76
76
* Props that are applied to the `<input />` element rendered by
77
77
* `Autocomplete`. Any properties supported by `HTMLInputElement` can be
78
78
* specified, apart from the following which are set by `Autocomplete`:
79
- * value, autoComplete, role, aria-autocomplete
79
+ * value, role, aria-autocomplete
80
80
*/
81
81
inputProps : PropTypes . object ,
82
82
/**
@@ -439,7 +439,7 @@ let Autocomplete = React.createClass({
439
439
role = "combobox"
440
440
aria-autocomplete = "list"
441
441
aria-expanded = { open }
442
- autoComplete = " off"
442
+ autoComplete = { inputProps . autoComplete || ' off' }
443
443
ref = "input"
444
444
onFocus = { this . composeEventHandlers ( this . handleInputFocus , inputProps . onFocus ) }
445
445
onBlur = { this . composeEventHandlers ( this . handleInputBlur , inputProps . onBlur ) }
You can’t perform that action at this time.
0 commit comments