Radio Button missing checked on validation error
|Status:||Needs Feedback||Start date:||2012-03-09|
|Priority:||Should have||Due date:|
|Has patch:||No||FLOW3 version affected:||Git master|
The checked state of a radio button is not properly checked in the case of a validation error, this should be checked by comparing the value to the lastSubmittedFormData
Updated by Bastian Waidelich about 1 year ago
- Category set to ViewHelpers
- Status changed from New to Needs Feedback
Can you provide more details please (code snippet, version(s) used, ..). This should work.
Is this maybe related to #33628 ?
Updated by Daniel Siepmann 3 months ago
Perhaps it's the bug described in my blog post? http://blog.layne-obserdia.de/post/fix-radio-and-checkbox-for-fluid#comment-795695300
There is a bug fix in the post.
Or is this another issue? I noticed that submitted checkboxes and radio buttons aren't selected anymore.
So e.g. the checkbox is not selected initial.
I check it, submit the form and the form will be displayed again, on validation error, then the checkbox is no more checked.
I just fixed it for the rewritten property mapper and got the submitted value and did a compare.