Skip to content

Remove Picker state and expose setNativeProps #9117

Closed

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.

Activity

  1. added
    Weekly
    Improvement
    on May 20, 2022
  2. self-assigned this
    on May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

EngineeringImprovementWeekly

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions