Skip to content

Remove Picker state and expose setNativeProps #9117

@luacmartins

Description

@luacmartins

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.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions