Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore invalid data from input #2152

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Commits on Sep 18, 2020

  1. Ignore invalid data from input

    When original data in the input is not valid moment.js creates a date object but it is invalid. DateRangePicker then shows the month view filled of NaNs. This change makes DateRangePicker to ignore the input data if it can´t be properly parsed.
    gorbeia committed Sep 18, 2020
    Configuration menu
    Copy the full SHA
    bf1d664 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2020

  1. Check that startDate and endDate are valid

    But keep in mind that they can be already null.
    gorbeia committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    0f2d13e View commit details
    Browse the repository at this point in the history