Bug #91686

Checkbox ViewHelper attribute checked has no effect when a form object is omitted to form viewhelper

Added by Daniel Dorndorf 23 days ago. Updated 22 days ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2020-06-22
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:

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

History

#1 Updated by Riccardo De Contardi 23 days ago

@Daniel Dorndorf are we talking about EXT:form ?

#2 Updated by Daniel Dorndorf 23 days ago

  • Subject changed from Checkbox attribute checked has no effect when object is omitted to form to Checkbox ViewHelper attribute checked has no effect when object is omitted to form

No 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.

#3 Updated by Daniel Dorndorf 23 days ago

  • Subject changed from Checkbox ViewHelper attribute checked has no effect when object is omitted to form to Checkbox ViewHelper attribute checked has no effect when a form object is omitted to form viewhelper

#4 Updated by Daniel Dorndorf 22 days ago

This issue can be closed, the problem was caused by a caching issue, not the viewhelper logic.

Also available in: Atom PDF