- Issue created by @dan_metille
In versions 1.0.0-beta5 of the field_time module, I’ve noticed that non-required time fields are automatically saving the current time as their default value. This behavior differs significantly from 1.0.0-beta3, where non-required fields would remain empty unless explicitly populated.
This change seems to have been introduced without any mention in the release notes of beta4, beta5, or subsequent releases. The lack of documentation or an explicit setting to control this behavior has made it difficult to manage time fields in use cases where blank fields are critical.
I am heavily using the field_time module to manage time intervals (e.g., durations), where an empty value is a valid and necessary state for non-required fields. Automatically saving the current time as a default introduces incorrect data and breaks the integrity of the workflows reliant on this module.
Steps to Reproduce
Non-required time fields should remain empty unless explicitly populated by the user.
Non-required time fields are automatically populated with the current time upon saving the entity.
This change has significantly impacted my use case, as I rely on non-required time fields to represent intervals or durations, and these should remain empty unless explicitly filled in by the user. Automatically saving the current time introduces incorrect data and forces unwanted manual cleanup.
I appreciate the work of the maintainers on this module and hope this feedback helps improve its usability for diverse scenarios.
Active
1.0
Code