Open tisto opened 2 years ago
Since the Events content type isn't blocks enabled it uses the form widgets from the default form construction. The showing and hiding of the end and start date were hidden on toggle within Plone 5 with jQuery and not part of the Boolean or DateTime picker widgets. https://github.com/plone/plone.app.event/blob/3.2.x/plone/app/event/browser/resources/event.js#L184 There is no such functionality within Volto's Checkbox field to my knowledge. https://github.com/plone/plone.app.event/blob/master/plone/app/event/dx/behaviors.py#L129
@ichim-david we disabled those two fields in our project because they do not provide any functionality. If we can't come up with a solution, we should do the same (at least for now) in Volto. Then we have to live with the fact that we do not provide the functionality that Classic currently has.
@tisto any news with this issue or you still disable the fields?
@cekk those fields are still disabled. Unless someone picks this up and implements the full functionality, this is what we should do IMHO.
I've included this in my draft PLIP for event content types: https://github.com/plone/volto/issues/5629.
Describe the bug
In Plone Classic the UI for the start/end date adapts if the user checks the "whole day" checkbox (time fields disappear) and the "open end" checkbox (end date/time disappear). This is not the case in Volto and this confuses our editors.
To Reproduce Steps to reproduce the behavior:
Expected behavior
Screenshots
Software (please complete the following information):