v29.11.0
Minor Changes
-
Autosuggest: Add
hideSuggestionsOnSelectionprop (#792)Typically we hide the suggestion list when a selection is made, assuming that the field is now populated with the desired value. However, if the surrounding application clears the text field when a selection is made, this clashes with the user expectation that the field has been reverted back to its initial state with suggestions visible. To cater for this, we now allow you to opt out of this behaviour via the
hideSuggestionsOnSelectionboolean prop.EXAMPLE USAGE
<Autosuggest hideSuggestionsOnSelection={false} {...rest} />