?
avatar marcorensch
marcorensch
5 Mar 2021

Steps to reproduce the issue

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).

Expected result

When toggling a button the actual status is visible.

Actual result

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.

System information (as much as possible)

Joomla 4.0 Beta 7

Local MAMP installation

Additional comments

No JS Error visible in the console
worked for sure till Beta 5 - new Bootstrap related issue?

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
5.00

avatar marcorensch marcorensch - open - 5 Mar 2021
avatar joomla-cms-bot joomla-cms-bot - labeled - 5 Mar 2021
avatar infograf768
infograf768 - comment - 5 Mar 2021

Please post screenshots of this behavior.

avatar marcorensch
marcorensch - comment - 5 Mar 2021
btngroup.mov

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.

avatar mavrosxristoforos
mavrosxristoforos - comment - 5 Mar 2021

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.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32588.

avatar Quy
Quy - comment - 5 Mar 2021

Fixed in #32367.

Please test with nightly builds: https://developer.joomla.org/nightly-builds.html

avatar mavrosxristoforos
mavrosxristoforos - comment - 5 Mar 2021

That fixed it for me. Thanks!

avatar Quy Quy - change - 5 Mar 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-03-05 15:51:39
Closed_By Quy
avatar Quy Quy - close - 5 Mar 2021
avatar Quy
Quy - comment - 5 Mar 2021

@mavrosxristoforos Thank you for confirming! Closing as fixed.

Add a Comment

Login with GitHub to post a comment