Have autosuggest take in a disabled prop (boolean) to disable the autosuggest field. This is useful for situations maybe when the field is pending other parts of the form to be completed or maybe just disabled for certain users.
Isn't this already supported?
const inputProps = {
placeholder: 'Type a programming language',
value,
onChange: this.onChange,
disabled: true
};
I can confirm that it's possible to pass the inputProps.disabled which achieves the result.
hmh, it doesn't seem to be documented thought 馃
Most helpful comment
I can confirm that it's possible to pass the
inputProps.disabledwhich achieves the result.