? Pending

User tests: Successful: Unsuccessful:

avatar Kubik-Rubik
Kubik-Rubik
22 Feb 2018

Summary of Changes

This change allows the filter boolean for the standard radion button field (https://docs.joomla.org/Special:MyLanguage/Radio_form_field_type).

Testing Instructions

Open the manifest file (XML) file of a plugin or module and add the following three fields in a fieldset:

<field name="radio1" type="radio" label="RADIO_1" class="btn-group btn-group-yesno" default="1" filter="uint">
    <option value="1">JYES</option>
    <option value="0">JNO</option>
</field>
<field name="radio2" type="radio" label="RADIO_2" class="btn-group btn-group-yesno" default="1" filter="bool">
    <option value="1">JYES</option>
    <option value="0">JNO</option>
</field>
<field name="radio3" type="radio" label="RADIO_3" class="btn-group btn-group-yesno" default="1">
    <option value="1">JYES</option>
    <option value="0">JNO</option>
</field>
  1. uint filter - 2. boolean filter - 3. no filter

Expected result

screenshot 2018-02-22 21 52 31

Actual result

screenshot 2018-02-22 21 52 04

Documentation Changes Required

No.

avatar Kubik-Rubik Kubik-Rubik - open - 22 Feb 2018
avatar Kubik-Rubik Kubik-Rubik - change - 22 Feb 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 22 Feb 2018
Category Layout Libraries
avatar Quy
Quy - comment - 22 Feb 2018

This will not work. I created a custom field of type radio with values A, B, C. Now all values are checked by default.

avatar Kubik-Rubik
Kubik-Rubik - comment - 23 Feb 2018

@Quy Ooops, you are right. I only thought about true / false constellations... I will think about another approach.

avatar Kubik-Rubik Kubik-Rubik - change - 23 Feb 2018
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2018-02-23 08:00:58
Closed_By Kubik-Rubik
Labels Added: ?
avatar Kubik-Rubik Kubik-Rubik - close - 23 Feb 2018

Add a Comment

Login with GitHub to post a comment