User tests: Successful: Unsuccessful:
Use layout attribute to set layout in Joomla\CMS\Form\Field\RadioField
.
View some forms contain "switcher" fields.
Works like before.
Form fields using switcher
class need to be updated to use joomla.form.field.radio.switcher
layout instead.
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_banners com_checkin com_config com_contact com_content com_csp com_fields com_finder com_installer com_joomlaupdate com_media com_menus |
Labels |
Added:
?
|
In which form is that?
every form
I can't reproduce your results.
I tested it twice
hmm i have now looked into the screenshots more deeply. I have marked the differences, i found on mine. Does the additional for="jform_link_titles"
break accessibility? Maybe I just not getting what the issue is as it seams to me that the label is there before and after two times, on both my and your screenshots.
I'll revert the related change.
We can't even use hiddenLabel
attribute to actually hide labels anymore
Test again please.
Out of scope of this PR. Can happen with other fields because main layout doesn't check for empty input/label.
As its a change in behaviour created by this PR I dont see how its out of scope
This behavior is not specific to this field. Any field that returns an empty string in getLabel()
or getInput()
methods is going to cause empty divs to be rendered , e.g.
<field
name="whatever"
type="note"
/>
Outputs:
<div class="control-group">
<div class="control-label"></div>
<div class="controls">
</div>
</div>
If it was my call, I'd just drop all these workarounds and have #25085 reverted. It was done with good intentions but with wrong assumptions that the labels can only be hidden for cosmetic purposes.
Please fix conflicts.
I have tested this item
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-02-11 10:19:31 |
Closed_By | ⇒ | rdeutz | |
Labels |
Added:
?
|
I have tested this item? unsuccessfully on 3fbc5c3
The label is now doubled
The accessibility is now brokenn
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/26214.