[4.0] Use layout attribute to set field layout#26214
[4.0] Use layout attribute to set field layout#26214rdeutz merged 22 commits intojoomla:4.0-devfrom SharkyKZ:j4/form/Switcher
Conversation
|
I have tested this item 🔴 unsuccessfully on 3fbc5c3 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/26214. |
|
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 |
|
I'll revert the related change. |
|
We can't even use |
|
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 Outputs: 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 ✅ successfully on bd7ff1b This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/26214. |
1 similar comment
|
I have tested this item ✅ successfully on bd7ff1b This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/26214. |
|
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/26214. |








Summary of Changes
Use layout attribute to set layout in
Joomla\CMS\Form\Field\RadioField.Testing Instructions
View some forms contain "switcher" fields.
Expected result
Works like before.
Documentation Changes Required
Form fields using
switcherclass need to be updated to usejoomla.form.field.radio.switcherlayout instead.