• Fabrik4.5.3 for J!5.3.0 and J!4.2+is out

    You must update from Fabrik4.5.1 if you are running Joomla!5.3.0

    See Announcements

Fixed Cannot hide checkbox in list

mdube56

New Member
Hi!
I found that I cannot hide the checkbox at the end/beginning of a list display on 2 different sites.
To reproduce the issue : List -> Details -> Links -> Hide Checkbox. If I check it, the move is not registered in the table.
If I go by the list's table directly and modify the params column -> hidecheckbox item to 1, the checkbox gets enabled then.
md
 
I can't replicate.
Which exact J! and Fabrik version?
Frontend and/or backend?
Are you using the standard Fabrik bootstrap list template?
 
J!=5.2.4, PHP 8.3.17 and Fabrik 4.5.1.

I see that problem on two sites (dev & demo). By the backend of the most basic site (demo), Fabrik has just been updated from 4.5 to 4.5.1. I just created only one simple "Contact" list, and it's using the standard bootstrap list template. So if I try to clear, in the front end, the checkboxes that are at the end/beginning of each lines of that list, it doesn't work.

Strange because all other params that are modified (by the backend) are registered correctly.

Let me know if you need more infos.

It's not an emergency ;-)
 
Obvioulsy a J!5.2.4 change.

Can you try in administrator\components\com_fabrik\models\forms\list.xml
change code lines 1307 - 1313 to
Code:
         <field name="hidecheckbox"
                   type="radio"
                   default="0"
                   layout="joomla.form.field.radio.switcher"
                   id="hidecheckbox"
                   label="COM_FABRIK_FIELD_CHECKBOX_HIDE_LABEL"
                   description="COM_FABRIK_FIELD_CHECKBOX_HIDE_DESC"
            >
                <option value="0">JNO</option>
                <option value="1">JYES</option>
            </field>
 
I had to repeat the above modification to list.xml after upgrading to Fabrik 4.5.3, Joomla! 5.3.0
Can you add this modification to the next release please.
 
I searched through Fabrik 4.5.3 and see some more places where the same form of checkbox field definition is being used:

\administrator\components\com_fabrik\models\forms\import.xml
\plugins\fabrik_list\update_col\forms\fields.xml (multiple)

Should they be changed too?
 
Thanks for pointing this out.
It's even more easy, we only have to change to default="" or omit it totally. (J! changed the handling of "0")
 

Members online

No members online now.
Back
Top