Open a module that uses a button group as parameter setting in the backend (has class btn-group and btn-group-yesno set as attribute).
When toggling a button the actual status is visible.
The clicked status gets reconized and will be saved on save. But there is no visual change of this parameter status when you click the button.
Joomla 4.0 Beta 7
Local MAMP installation
No JS Error visible in the console
worked for sure till Beta 5 - new Bootstrap related issue?
Screenshots cannot show the issue that good so i created a short clip.
And before you talking about the repeatable subform:
It does not matter if the btn-group styled field is inside a repeatabe subform or not.
I confirm this problem on local WAMP with every btn-group, btn-group-yesno field or option, in both component forms and module options.
A solution for Yes/No fields is to add layout="joomla.form.field.radio.switcher" in the field xml, but that is not backwards compatible. Maintaining Joomla 3 compatibility is a strong requirement for extension devs right now, especially when we cannot have if-else conditions, which is the case for XMLs.
I also remember that it still worked until Beta 6.
Fixed in #32367.
Please test with nightly builds: https://developer.joomla.org/nightly-builds.html
That fixed it for me. Thanks!
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-03-05 15:51:39 |
Closed_By | ⇒ | Quy |
@mavrosxristoforos Thank you for confirming! Closing as fixed.
Please post screenshots of this behavior.