User tests: Successful: Unsuccessful:
Pull Request for Issue #41205 .
Checked if class is set and added it to the fields
copied from the issue
$options=array();
$o = new stdClass();
$o->value = 1;
$o->text = 'option 1';
$options[] = $o;
$attribs=array();
$attribs['class'] = 'MyCLass'
HTMLHelper::_('select.radiolist', $options, 'fieldname', $attribs);
<div class="controls">
<div class="form-check form-check-inline">
<input type="radio" class="form-check-input" name="fieldname" id="fieldname1" value="1" class="MyCLass">
<label for="fieldname1" class="form-check-label" id="fieldname1-lbl">option 1</label>
</div>
</div>
class attribute is duplicated
<div class="controls">
<div class="form-check form-check-inline">
<input type="radio" class="form-check-input MyCLass" name="fieldname" id="fieldname1" value="1">
<label for="fieldname1" class="form-check-label" id="fieldname1-lbl">option 1</label>
</div>
</div>
Both the form-check-input and MyCLass should be merged in one class attribute
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries |
Labels |
Added:
PR-5.2-dev
|
I have tested this item ✅ successfully on 8932488
I have tested this item ✅ successfully on 8932488
Status | Pending | ⇒ | Ready to Commit |
RTC
Labels |
Added:
RTC
|
Category | Libraries | ⇒ | Unit Tests Libraries |
Labels |
Added:
Unit/System Tests
|
just for the record, I used this PR to pin the mysql service in our testing to 8.3.0 because it seems we have a problem with 8.4 and the integration tests
Category | Libraries Unit Tests | ⇒ | Libraries |
Labels |
Removed:
Unit/System Tests
|
Title |
|
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-06-03 10:11:06 |
Closed_By | ⇒ | pe7er |
Thanks @richard67