Skip to content

Datepicker: Allow controlled clearing of input #2965

Open
@interactivellama

Description

@interactivellama

Currently, on initial load the input is uncontrolled and creates a clear empty string value. There currently is not a way to reset to an empty string once the value is set.

One proposal is to allow a controlled component reset to input empty string by using value={null}.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions