Bug #83403
closed
<span></span> tag not filled in form extension for type radio
Added by Eckard Gehrke almost 7 years ago.
Updated about 6 years ago.
Description
Hi,
when upgrading from 8.7.8 to 8.7.9 I get the following error:
In 8.7.8 my form was rendered to:
<label class="form-check-label check0">
<input class="xlarge form-check-input" type="radio" name="tx_form_formframework[anfrage][radiobutton-1]" value="Informatik" checked="checked">
<span> Informatik</span>
</label>
whereas in 8.7.9 and current 8.7 branch the result is an empty <span> tag:
<label class="form-check-label check0">
<input class="xlarge form-check-input" type="radio" name="tx_form_formframework[anfrage][radiobutton-1]" value="Informatik" checked="checked">
<span></span>
</label>
I could trace it down to changes in form -> Classes -> Service and ViewHelpers but could not break it down further to a single change. Check0 and counting the radiobuttons in the group is an extension of my own, which still works fine
Best regrads
Eckard.
- Priority changed from Should have to -- undefined --
- Target version deleted (
next-patchlevel)
Hi,
after some more search I found the issue:
If you use own partials RadioButton.html needs to be adopted before you upgrade to 8.7.9
The span tag should now read:
<span>{formvh:translateElementProperty(element: element, property: '{0: \'options\', 1: value}')}</span>
because TranslationService was changed.
Maybe you give some hints on which other own partials should be adopted before the upgrade.
Best regards
Eckard.
PS: Can't set it myelf to resolved.
- Priority changed from -- undefined -- to Should have
- Related to Bug #82210: ext:form multi checkbox values containing . or & result in empty frontend labels added
- Status changed from New to Under Review
- Target version set to 8.7.10
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF