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

Enhancement: input-date-picker validates & auto-corrects values while typing #4570

Closed
anveshmekala opened this issue May 17, 2022 · 4 comments
Assignees
Labels
4 - verified Issues that have been released and confirmed resolved. enhancement Issues tied to a new feature or request.

Comments

@anveshmekala
Copy link
Contributor

anveshmekala commented May 17, 2022

Description

When min,max are parsed in calcite-input-date-picker , values are validated & auto-corrected while user is typing if the value is outside of the range. This happen when the user is not yet tabbed out of the input element.

Acceptance Criteria

the validation & auto-correction needs to be disabled when user is typing while input-date-picker has the focus.

Relevant Info

No response

Which Component

calcite-input-date-picker

Example Use Case

Code pen :https://codepen.io/ANVESHMEKALA/pen/qBxrxyO?editors=1000

Try entering 05/22/2022 in the input field and even before the user completes typing the value will be reseted to min value

@anveshmekala anveshmekala added enhancement Issues tied to a new feature or request. 0 - new New issues that need assignment. needs triage Planning workflow - pending design/dev review. labels May 17, 2022
@anveshmekala anveshmekala changed the title input-date-picker do not auto-correct values while typing input-date-picker validates & auto-corrects values while typing May 17, 2022
@anveshmekala anveshmekala changed the title input-date-picker validates & auto-corrects values while typing Enhancement: input-date-picker validates & auto-corrects values while typing May 17, 2022
@anveshmekala anveshmekala self-assigned this Jun 7, 2022
@anveshmekala anveshmekala added 2 - in development Issues that are actively being worked on. 1 - assigned Issues that are assigned to a sprint and a team member. and removed 0 - new New issues that need assignment. 2 - in development Issues that are actively being worked on. labels Jun 7, 2022
@anveshmekala
Copy link
Contributor Author

Need to revisit this issues as it effects both date-picker and input-date-picker. Holding off on development .

@anveshmekala anveshmekala added 0 - new New issues that need assignment. and removed 1 - assigned Issues that are assigned to a sprint and a team member. labels Aug 29, 2022
@anveshmekala anveshmekala removed their assignment Aug 29, 2022
@eriklharper eriklharper added 3 - installed Issues that have been merged to master branch and are ready for final confirmation. and removed 0 - new New issues that need assignment. needs triage Planning workflow - pending design/dev review. labels Nov 30, 2022
@github-actions
Copy link
Contributor

Installed and assigned for verification.

@eriklharper
Copy link
Contributor

@geospatialem this has also been resolved by #5459.

@geospatialem geospatialem added 4 - verified Issues that have been released and confirmed resolved. and removed 3 - installed Issues that have been merged to master branch and are ready for final confirmation. labels Nov 30, 2022
@geospatialem
Copy link
Member

Verified in beta.98.

verify-validation-input-date-picker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4 - verified Issues that have been released and confirmed resolved. enhancement Issues tied to a new feature or request.
Projects
None yet
Development

No branches or pull requests

4 participants