Skip to content

Clear not working on value present onload #16

Description

@tobyfoord

Perhaps I'm going mad, but...

On page load with a date present in the input the clear button does not remove the input. Only once a date has been selected from the calendar can it then be cleared.

It seems to be that _selectedDate isn't set on BeatPicker initialization, should this not be set from the initial value of the input?

Really want this to work as in all other regards I'm loving BeatPicker!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions