When I clear the custom date/time format input field in the Date block, the "Default format" setting gets toggled on automatically.
Expected outcome: The input field should get cleared, and stay that way until I enter a custom date format.
Step-by-step reproduction instructions
Add the Date block to any post/page/template
Toggle the "Default format" off under Block settings.
Choose "Custom" from "Choose a format" dropdown.
Clear the pre-filled text from the format input field - either by selecting all and pressing delete or by deleting the characters one by one.
When the input field is cleared, the "Default format" (from Step 2) gets toggled on.
I tried these steps in the following themes - Twenty Twenty-Four, Twenty Twenty-Three, and Twenty Twenty-Two - and was able to reproduce the issue in all three.
Description
When I clear the custom date/time format input field in the Date block, the "Default format" setting gets toggled on automatically. Expected outcome: The input field should get cleared, and stay that way until I enter a custom date format.
Step-by-step reproduction instructions
I tried these steps in the following themes - Twenty Twenty-Four, Twenty Twenty-Three, and Twenty Twenty-Two - and was able to reproduce the issue in all three.
Screenshots, screen recording, code snippet
https://github.com/user-attachments/assets/b7083616-e60b-43d0-a0e1-a2fb05428ff3
Environment info
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.