Skip to content

Conversation

@KrisB1022
Copy link

@KrisB1022 KrisB1022 commented Jun 30, 2020

Resolve issue 1023

When a date is invalid, it is hard to tell if it is invalid due to an empty string, where the user has not entered a date, or if the user entered an invalid date.

Currently the only way to determine if the date is invalid or just empty, is to query the DOM for the specific tags to read their values.

This change will pass a new argument to the onChangeHandler that will include the date string that was entered into the input.

  • NOTE
    There were some unrelated files that had linting errors related to having too many spaces. This PR also helps the team out in fixing those issues.

Kris Byrum added 2 commits June 30, 2020 14:51
When a date is invalid, it is hard to tell if it is invalid due to an empty string, where the user has not entered a date, or if the user entered an invalid date.

Currently the only way to determine if the date is invalid or just empty, is to query the DOM for the specific tags to read their values.

This change will pass a new argument to the onChangeHandler that will include the date string that was entered into the input.
@KrisB1022
Copy link
Author

handled by #1941

@KrisB1022 KrisB1022 closed this Jul 1, 2020
@KrisB1022 KrisB1022 deleted the issue-1023-pass-invalid-date-to-onchange branch July 1, 2020 04:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant