Skip to content

Issue with Firefox incorrectly autofilling dates in DateInput - workaround for docs #1

Open
@alibby251

Description

@alibby251

As per issue logs 686 and 633 in the Tools github area:

If you use DateInput within Firefox, there are some instances where, depending on how you refresh the page you are viewing, you can get "NaN" showing in the DateInput window, when clicking on it's input box. A workaround(?) is to set:

<input type="date" autocomplete="off" />

...in the code - this stops a quirk with Firefox, where it is prefilling all of the values within DateInput automatically, which causes the issue. This should be added to the documentation, so that people know what to do - I am not sure there is any way of providing a code fix for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions