-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[4.3] radio field and btn group doesn't work in subform #40160
Comments
In Joomla 4, you should use layout="joomla.form.field.radio.switcher" rather than class="btn-group" for fields having 0/1 values. If you have more than 2 values, you should use type 'list' rather than 'radio'. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/40160. |
Hope that helps :-) This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/40160. |
@obuisard i know that but my return isn't about this ... radio works but not class its a bug not ? using select only for 4 items isn't a good ux solution in this case. Error is same if you want to add a radio button only with 2 values (but no switcher because isn't yes/no question) |
Are there any javascript errors in the console? |
no, nothing |
i test same subform code not in existing subform (root) that works |
I have seen it being a challenge to have stylings and showon script work properly in subforms. We may still have issues with subforms of subforms... |
Is there any solution for this bug? Radio buttons are not active/selectable in repeatable subforms. |
still nothing? |
Please test #43660 |
Hello
![2023-03-21_21h07_17](https://user-images.githubusercontent.com/2539440/226729552-2345f5ad-22e7-4e85-8bc2-2e60c0c77353.gif)
![2023-03-21_21h08_58](https://user-images.githubusercontent.com/2539440/226729715-195f447a-2157-4ff6-9529-d1833efdabda.gif)
i am testing subform + showone feature of joomla 4.3
i works in subform > suform > field
if we use
class="btn-group"
in 2sc level of subform radio form is brokenif i don't use css class radio field is usuable and showone works
=> i didn't see any js error in my browser
my original code
thanks for any help or return
The text was updated successfully, but these errors were encountered: