|
|
|
@ -51,6 +51,7 @@ export default class AutosuggestInput extends ImmutablePureComponent {
|
|
|
|
|
searchTokens: PropTypes.arrayOf(PropTypes.string),
|
|
|
|
|
maxLength: PropTypes.number,
|
|
|
|
|
lang: PropTypes.string,
|
|
|
|
|
spellCheck: PropTypes.string,
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
static defaultProps = {
|
|
|
|
@ -186,7 +187,7 @@ export default class AutosuggestInput extends ImmutablePureComponent {
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
render () {
|
|
|
|
|
const { value, suggestions, disabled, placeholder, onKeyUp, autoFocus, className, id, maxLength, lang } = this.props;
|
|
|
|
|
const { value, suggestions, disabled, placeholder, onKeyUp, autoFocus, className, id, maxLength, lang, spellCheck } = this.props;
|
|
|
|
|
const { suggestionsHidden } = this.state;
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
@ -212,6 +213,7 @@ export default class AutosuggestInput extends ImmutablePureComponent {
|
|
|
|
|
className={className}
|
|
|
|
|
maxLength={maxLength}
|
|
|
|
|
lang={lang}
|
|
|
|
|
spellCheck={spellCheck}
|
|
|
|
|
/>
|
|
|
|
|
</label>
|
|
|
|
|
|
|
|
|
|