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

Fix date block error when date is not selected #4044

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

burhandodhy
Copy link
Contributor

Description of the Change

This PR fixes an error where the Date filter throws an error when the submit button is clicked without selecting a date

view.js:19 Uncaught TypeError: Cannot destructure property 'value' of 'this.querySelector(...)' as it is null.

Closes #

How to test the Change

Changelog Entry

Fixed - JS error when submit button is clicked without selecting a date

Credits

Props @burhandodhy

Checklist:

@burhandodhy burhandodhy added this to the 5.1.4 milestone Dec 11, 2024
@felipeelia felipeelia merged commit 6bc7822 into develop Dec 11, 2024
18 of 22 checks passed
@felipeelia felipeelia deleted the fix/js-error-for-date-block branch December 11, 2024 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants