Problem
As part of the Form refactor, we need to use uncontrolled inputs. We should expose setNativeProps so that we have a way to directly manipulate the input value when necessary. That's the case for example in our addressSearch component, that directly manipulates the value of other inputs, i.e. StatePicker.
Why is this important
Implement the Form refactor project.
Solution
Get rid of picker state and expose a setNativeProps method to its ref.
Problem
As part of the Form refactor, we need to use uncontrolled inputs. We should expose
setNativePropsso that we have a way to directly manipulate the input value when necessary. That's the case for example in ouraddressSearchcomponent, that directly manipulates the value of other inputs, i.e.StatePicker.Why is this important
Implement the Form refactor project.
Solution
Get rid of picker state and expose a
setNativePropsmethod to its ref.