Skip to content

Datepicker: Cannot be cleared (due to internal state conditional) #1868

Open
@prescod

Description

@prescod

The following example shows three different attempts to clear an input a datepicker. All failed. I have a workaround but it seems to me that it should be coded such that at least one of them works to clear input.

https://gist.github.com/prescod/724c19066b8aa206a6d210c15b077596

My workaround is to change the key and therefore clear the input by re-creating it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions