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

Handle invalid value prop in DateTimePicker #2074

Merged
merged 15 commits into from
Feb 5, 2024

Conversation

farhanlatheef
Copy link
Contributor

@farhanlatheef farhanlatheef commented Jan 30, 2024

Description
If the value prop is invalid date or date string, the value is converted to null.

Checklist

- [ ] I have made corresponding changes to the documentation.

  • I have updated the types definition of modified exports.
  • I have verified the functionality in some of the neeto web-apps.
  • I have added tests that prove my fix is effective or that my feature works.
    - [ ] I have added proper data-cy and data-testid attributes.
  • I have added the necessary label (patch/minor/major - If package publish
    is required).

Reviewers

@neetodeploy neetodeploy bot temporarily deployed to neeto-ui-pr-2074 January 30, 2024 06:23 Inactive
@neetodeploy neetodeploy bot temporarily deployed to neeto-ui-pr-2074 January 30, 2024 06:37 Inactive
@neetodeploy neetodeploy bot temporarily deployed to neeto-ui-pr-2074 January 30, 2024 06:42 Inactive
@farhanlatheef farhanlatheef added the patch Releases small requests or bug fixes. label Jan 30, 2024
@neetodeploy neetodeploy bot temporarily deployed to neeto-ui-pr-2074 January 30, 2024 07:06 Inactive
@neetodeploy neetodeploy bot temporarily deployed to neeto-ui-pr-2074 January 30, 2024 11:25 Inactive
@neetodeploy neetodeploy bot requested a deployment to neeto-ui-pr-2074 January 30, 2024 11:33 In progress
@farhanlatheef farhanlatheef marked this pull request as ready for review January 30, 2024 11:44
@farhanlatheef
Copy link
Contributor Author

@josephmathew900 _a

Copy link
Contributor

@josephmathew900 josephmathew900 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@farhanlatheef _a As discussed in the standup, I tested these changes locally in neetoPlanner and found that they are not working as expected. The API is getting triggered indefinitely.

image

@neetodeploy neetodeploy bot temporarily deployed to neeto-ui-pr-2074 February 2, 2024 06:53 Inactive
Copy link
Contributor

neetogit-bot bot commented Feb 2, 2024

@farhanlatheef CI is red.

@neetodeploy neetodeploy bot temporarily deployed to neeto-ui-pr-2074 February 2, 2024 10:30 Inactive
@farhanlatheef
Copy link
Contributor Author

@josephmathew900 _a

Copy link
Contributor

@josephmathew900 josephmathew900 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@farhanlatheef _a Please add the description also, it is required for CHANGELOG.md. Please add the description and merge the PR.

@farhanlatheef farhanlatheef merged commit 08489d1 into main Feb 5, 2024
1 check passed
@farhanlatheef farhanlatheef deleted the 2068-datetimepicker-handle-invalid-input branch February 5, 2024 05:23
Copy link
Contributor

@yedhink yedhink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@josephmathew900 @farhanlatheef Noticed the following. Lemme know your thoughts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Releases small requests or bug fixes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Conditionally handle undefined value being passed to DateTimePicker
4 participants