Skip to content

Incorrect logic, "typeable" mode #573

Open
@koss-shtukert

Description

@koss-shtukert

Please see my code on codesandbox:
https://codesandbox.io/s/14qx8j0774

Problem:
have disabled all dates before the current date.
When input previous date i see that in the calendar current date is selected (because i validate it in "selected" method: if (moment(value, 'DDMMMYYYY').isBefore(moment(), 'day'))), but in input i still see my input date.

May be the calendar must control the logic, when I fill in "incorrect" date via keyboard input, the calendar must replace it with the current date or the "open-date" as default value

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions