#91686Checkbox ViewHelper attribute checked has no effect when a form object is omitted to form viewhelper
Description
When using a form object and having checkboxes explicitly using the checked attribute it always prefers the objects value.
This seems not like an expected behaviour, you may want to be able to override the objects value.
Greetings
Daniel
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
History 6
-
Riccardo De Contardi commented 06/22/20, 16:36
-
Daniel Dorndorf commented and changed subject
Checkbox attribute checked has no effect when object is omitted to formCheckbox ViewHelper attribute checked has no effect when object is omitted to form 06/22/20, 20:20No I’m meaning the checkbox ViewHelper, it fetches the form objects data and adds sets the check state ignoring the checked attribute you can set to override this.
I could’nt imagine that this is the expected behaviour.
I also adjustet the headline for clarification.
-
Daniel Dorndorf changed subject
Checkbox ViewHelper attribute checked has no effect when object is omitted to formCheckbox ViewHelper attribute checked has no effect when a form object is omitted to form viewhelper 06/22/20, 20:21 -
Daniel Dorndorf commented 06/23/20, 08:41
This issue can be closed, the problem was caused by a caching issue, not the viewhelper logic.
-
Mathias Schreiber changed Sprint Focus Remote Sprint 03/08/22, 12:09
-
Andreas Kienast commented and changed status
NewClosed 04/04/22, 15:19Closed as requested
@Daniel Dorndorf are we talking about EXT:form ?