Skip to content

Commit

Permalink
Fixed #1045 - AutoComplete mode multiple ignores maxlength property
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Oct 15, 2019
1 parent c8d99b1 commit 753f858
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/autocomplete/AutoComplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ export class AutoComplete extends Component {
<li className="p-autocomplete-input-token">
<input ref={(el) => this.inputEl = el} type={this.props.type} disabled={this.props.disabled} placeholder={this.props.placeholder}
autoComplete="off" tabIndex={this.props.tabindex} onChange={this.onInputChange} id={this.props.inputId} name={this.props.name}
style={this.props.inputStyle} className={this.props.inputClassName}
style={this.props.inputStyle} className={this.props.inputClassName} maxLength={this.props.maxlength}
onKeyUp={this.props.onKeyUp} onKeyDown={this.onInputKeyDown} onKeyPress={this.props.onKeyPress}
onFocus={this.onMultiInputFocus} onBlur={this.onMultiInputBlur} />
</li>
Expand Down

0 comments on commit 753f858

Please sign in to comment.