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

NYS-159: Update event calendar JS to ensure new html 5 exposed filter form standards are met and calendar functionality is restored #210

Merged

Conversation

nathanielwoodland
Copy link
Contributor

No description provided.

@routinet
Copy link
Contributor

Can you elaborate on how changing the format (and/or the JS-targeted classes) are affecting this?

@nathanielwoodland
Copy link
Contributor Author

Can you elaborate on how changing the format (and/or the JS-targeted classes) are affecting this?

@routinet, high level, the views exposed form previously used a generic text input field for date filters (with no native HTML validations), which allowed some sloppy JS to work. But Drupal/views switched to using a HTML5 date picker by default, which enforces an input format of yyyy-MM-dd (ISO format). I'm not sure when views updated this field to use a proper HTML5 date picker, but I suspect this happened as part of the D10 upgrade (I'm not certain about that though--happy to look into the source of this further).

@fksaintil fksaintil added the ready Tested and ready for deployment (unless on-hold) label Jul 2, 2024
@kzalewski kzalewski merged commit 76deb64 into main Jul 2, 2024
2 checks passed
@kzalewski kzalewski deleted the feature/hotfix--aten-nys-159--event-calendar-broken branch July 2, 2024 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready Tested and ready for deployment (unless on-hold)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants