?
avatar korenevskiy
korenevskiy
20 May 2020

Steps to reproduce the issue

When creating a module, I place different types of fields in XML.
The showon= function for fields stops working when the btn-group class is specified for the control field.

<field
    name="categories_show" 
    type="radio"
    class="btn-group btn-group-yesno" 
    label="[[%1:]] [[%2:]],JCATEGORIES,JSHOW" 
    default="0">
    <option value="1">JENABLED</option>
    <option value="0">JDISABLED</option>
</field>    

The field at the bottom is always hidden, and the field at the bottom will never be displayed in the interface again.

<field name="categories_order" type="number" default="5" label="JGLOBAL_CATEGORY_MANAGER_ORDER"   
	showon="categories_show:1"/> 
avatar korenevskiy korenevskiy - open - 20 May 2020
avatar joomla-cms-bot joomla-cms-bot - change - 20 May 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 20 May 2020
avatar korenevskiy korenevskiy - change - 20 May 2020
The description was changed
avatar korenevskiy korenevskiy - edited - 20 May 2020
avatar korenevskiy korenevskiy - change - 20 May 2020
The description was changed
avatar korenevskiy korenevskiy - edited - 20 May 2020
avatar korenevskiy korenevskiy - change - 20 May 2020
The description was changed
avatar korenevskiy korenevskiy - edited - 20 May 2020
avatar korenevskiy korenevskiy - change - 20 May 2020
Title
[J4] The SHOW-ON function does not work when the BTN-GROUP class is specified.
[J4][Atum] The SHOW-ON function does not work when the BTN-GROUP class is specified.
avatar korenevskiy korenevskiy - edited - 20 May 2020
avatar Quy Quy - change - 20 May 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-05-20 11:05:33
Closed_By Quy
avatar Quy
Quy - comment - 20 May 2020

Duplicate #27555

avatar Quy Quy - close - 20 May 2020

Add a Comment

Login with GitHub to post a comment