Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: trigger change if default is {{now}} #7272

Merged
merged 1 commit into from
Aug 30, 2024
Merged

Conversation

martinjagodic
Copy link
Member

Closes #7271

The value was set in the UI, but handleChange never triggerred, so it never rewrote "{{now}}" with the current date. This PR moves the check into the mount hook and triggers handleChange, so that correct value is saved.

@martinjagodic martinjagodic requested a review from a team as a code owner August 28, 2024 07:33
@github-actions github-actions bot added the type: bug code to address defects in shipped code label Aug 28, 2024
@martinjagodic martinjagodic requested review from demshy and removed request for a team August 28, 2024 07:33
@martinjagodic martinjagodic removed the type: bug code to address defects in shipped code label Aug 28, 2024
@martinjagodic martinjagodic merged commit 556e0d5 into main Aug 30, 2024
11 checks passed
@martinjagodic martinjagodic deleted the fix-datetime-now branch August 30, 2024 11:44
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Datetime Widget Displays ‘{{now}}’ Instead of Current Date/Time When now Button is Not Clicked
2 participants