1.28.0
Purpose
Build hooks into the Select
, and TextField
components so we can easily focus them in situations where inputs are being dynamically added to the DOM, and should receive focus for the widest usability and accessibility.
This was achieved by adding a Boolean prop focusTrigger
and logic to conditionally override the component refs.
🚀 Added
focusTrigger
Boolean prop to theSelect
andTextField
components for a hook to trigger active focus oncomponentDidMount()
focusTrigger
as a pass-through onAutocomplete
autocomplete: 'nope'
to theAutocomplete
propOverrides
object being passed to the child component
💅 Changes
Select
into a stateful React.PureComponent