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

Close after clear #871

Merged
merged 1 commit into from
Jul 10, 2024
Merged

Close after clear #871

merged 1 commit into from
Jul 10, 2024

Conversation

thecalcc
Copy link
Contributor

@thecalcc thecalcc commented Jul 10, 2024

SDBELGA-819

Description:
The popover has to be closed once the "Clear" button has been clicked because the Calendar component from primereact has to update internally and re-render the latest value in the UI. If we don't close it, once you've set a value using the quick access buttons, you have to manually open and close the popover in order for the UI value to update.

@tomaskikutis
Copy link
Member

In this case it's not obvious from a ticket why are you closing the popover. In such cases describe in the PR what is the problem you're addressing

@thecalcc
Copy link
Contributor Author

In this case it's not obvious from a ticket why are you closing the popover. In such cases describe in the PR what is the problem you're addressing

Ok I did it

@thecalcc thecalcc merged commit d0096ac into superdesk:develop Jul 10, 2024
5 checks passed
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