Skip to content

Commit

Permalink
[fixed] add autoComplete off to combobox and dropdown filter
Browse files Browse the repository at this point in the history
  • Loading branch information
jquense committed Jan 14, 2016
1 parent 53637b1 commit 9e1ada0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/ComboboxInput.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export default React.createClass({
<input
{...this.props }
type='text'
autoComplete='off'
aria-disabled={this.props.disabled}
aria-readonly={this.props.readOnly}
className={this.props.className + ' rw-input'}
Expand Down
1 change: 1 addition & 0 deletions src/DropdownList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ var DropdownList = React.createClass({
<div ref='filterWrapper' className='rw-filter-input'>
<span className='rw-select rw-btn'><i className='rw-i rw-i-search'/></span>
<input ref='filter' className='rw-input'
autoComplete='off'
placeholder={_.result(messages.filterPlaceholder, this.props)}
value={this.props.searchTerm }
onChange={ e => notify(this.props.onSearch, e.target.value)}/>
Expand Down

0 comments on commit 9e1ada0

Please sign in to comment.