shown attribute does not work if fields render through foreach loop such as
form->getFieldset() as $field): ?> <div class="control-group">
<div class="control-label"><?php **echo $field->label;** ?></div>
<div class="controls"><?php **echo $field->input;** ?></div>
</div>
while it works when fields render such as form->renderField('fieldname'); ?>
Labels |
Added:
?
|
Status | New | ⇒ | Information Required |
I think this is expected behavior at the moment. If you're rendering input and label manually, you also have to handle showon. See this for example:
joomla-cms/layouts/joomla/searchtools/default/filters.php
Lines 20 to 26 in fea05e2
Labels |
Added:
J3 Issue
|
SharkyKZ is correct. I think this issue can be closed as expected behavior. No need for more info about version.
Status | Information Required | ⇒ | Expected Behaviour |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-07-02 20:52:44 |
Closed_By | ⇒ | Quy |
@ayazbaloch JDoc is a wiki, so please append the wanted Information, thanks.
Thanks @franz-wohlkoenig for guiding.
Which Version?