Skip to content

Conversation

@duncanmcclean
Copy link
Member

There's currently no way to reset a required Date field to the current date and time.

You can clear optional Date fields and click "Add Date" which will use the current date/time:

CleanShot.2026-02-02.at.17.03.54.mp4

However, you can't do the same for required Date fields. It nulls out the values and you have to select the current date manually:

CleanShot.2026-02-02.at.17.05.32.mp4

This pull request makes it so clearing a required Date field sets the date and time to now.

Closes #13756

@jasonvarga jasonvarga merged commit cd7a751 into 6.x Feb 2, 2026
12 checks passed
@jasonvarga jasonvarga deleted the date-fieldtype-now branch February 2, 2026 18:34
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.

No way to set current date/time on Date field

3 participants