1. hatbe7
  2. Bug Report
  3. Wednesday, December 14 2016, 01:01 PM
When creating an option button (radio field type) the code generated looks like this:

<fieldset id="jform_ds_email" class="radio t3onoff">
<label class="radio inline on">
<input type="radio" id="jform_ds_email0" name="jform[ds_email]" value="0"><span for="jform_ds_email0">0</span>
</label>
<label class="radio inline on active">
<input type="radio" id="jform_ds_email1" name="jform[ds_email]" value="1"><span for="jform_ds_email1">1</span>
</label>
</fieldset>


...both labels are created with class "on" which resuts in a strange display of the radio button.
If I change in the inspector screen to "off" for the inactive option it works fine....but every time i save the element the changes get overwritten again.
Attachments (1)
admin Accepted Answer
Admin
Hi,
sorry for late reply, we lost this ticket :(

If you use a Joomlart template then this is due to T3 framework. it convert all radio button with 2 options as On/Off button when some user is logged in.

This code come from /plugins/system/t3/base-bs3/js/frontend-edit.js, to solve you can remove (or comment) all code in this file. This modification should not break template functions.
  1. more than a month ago
  2. Bug Report
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.