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

Date component - no error for min/max date input. #3443

Closed
LaurensBurger opened this issue Sep 1, 2023 · 2 comments · Fixed by #3479 or open-formulieren/open-forms-sdk#548
Closed
Assignees
Labels
bug Something isn't working owner: den-haag
Milestone

Comments

@LaurensBurger
Copy link
Collaborator

LaurensBurger commented Sep 1, 2023

Product versie / Product version

2.3.0

Omschrijf het probleem / Describe the bug

DH: 577
Date components with validation for minimum and maximum dates do not inform the user about this requirement.
It is clear when clicking the component, because out of range dates will not be available, but if you type in a date that is outside the available range the component will clear itself without informing the user why.

@LaurensBurger LaurensBurger added bug Something isn't working triage Issue needs to be validated. Remove this label if the issue considered valid. labels Sep 1, 2023
@joeribekker
Copy link
Contributor

Refinement: Similar to the time-component issue.

@joeribekker joeribekker removed the triage Issue needs to be validated. Remove this label if the issue considered valid. label Sep 4, 2023
@SilviaAmAm
Copy link
Contributor

This is a flatpickr issue: flatpickr/flatpickr#2698

SilviaAmAm added a commit to open-formulieren/open-forms-sdk that referenced this issue Sep 11, 2023
SilviaAmAm added a commit to open-formulieren/open-forms-sdk that referenced this issue Sep 13, 2023
…his...

The jest test didnt go anywhere (the method that creates a form with a date component returns a promise that never resolves).
In storybook you can interact manually with a component with a minDate and see that it works. It's something.
SilviaAmAm added a commit that referenced this issue Sep 20, 2023
SilviaAmAm added a commit that referenced this issue Sep 20, 2023
SilviaAmAm added a commit to open-formulieren/open-forms-sdk that referenced this issue Sep 20, 2023
SilviaAmAm added a commit to open-formulieren/open-forms-sdk that referenced this issue Sep 20, 2023
SilviaAmAm added a commit to open-formulieren/open-forms-sdk that referenced this issue Sep 20, 2023
@sergei-maertens sergei-maertens added this to the Release 2.4.0 milestone Sep 20, 2023
SilviaAmAm added a commit to open-formulieren/open-forms-sdk that referenced this issue Jan 18, 2024
If the datetime is entered with the keyboard instead of the widget, no validation was being performed. This adds the validation in the same way as for the date component (see open-formulieren/open-forms#3443)
SilviaAmAm added a commit that referenced this issue Jan 18, 2024
SilviaAmAm added a commit to open-formulieren/open-forms-sdk that referenced this issue Jan 18, 2024
If the datetime is entered with the keyboard instead of the widget, no validation was being performed. This adds the validation in the same way as for the date component (see open-formulieren/open-forms#3443)
SilviaAmAm added a commit that referenced this issue Jan 18, 2024
SilviaAmAm added a commit to open-formulieren/open-forms-sdk that referenced this issue Jan 19, 2024
If the datetime is entered with the keyboard instead of the widget, no validation was being performed. This adds the validation in the same way as for the date component (see open-formulieren/open-forms#3443)
SilviaAmAm added a commit that referenced this issue Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working owner: den-haag
Projects
Archived in project
4 participants