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

Removed the value sanitization logic while rendering and the touched state. #2388

Conversation

deepakjosp
Copy link
Contributor

@deepakjosp deepakjosp commented Nov 28, 2024

Description

  • Removed the logic to sanitize the value of the datepicker.
  • The values are already sanitized in the onChange handler.

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

@deepakjosp
Copy link
Contributor Author

@josephmathew900 _a please review.

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

@josephmathew900 josephmathew900 merged commit ffbe518 into main Nov 28, 2024
1 check passed
@josephmathew900 josephmathew900 deleted the 2387-remove-the-touched-state-and-sanitize-the-date-value-in-the-onchange-handler-in-the-datepicker branch November 28, 2024 06:24
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.

Remove the touched state and sanitize the date value in the onChange handler in the DatePicker.
2 participants