What steps will reproduce the problem?
Create a Collapse widget with non-array content and set footer
$items[] = [
'label' => 'Label',
'content' => 'Test',
'footer' => 'Footer'
];
What's expected?
Display content as-is along with the specified footer
What do you get instead?
Footer only gets displayed, when content is an array: https://github.com/yiisoft/yii2-bootstrap/blob/master/src/Collapse.php#L227
Additional info
| Q |
A |
| Yii-Bootstrap vesion |
2.0.11 |
| Yii vesion |
2.0.43 |
| PHP version |
7.4 |
| Operating system |
Linux |
What steps will reproduce the problem?
Create a Collapse widget with non-array
contentand setfooterWhat's expected?
Display content as-is along with the specified footer
What do you get instead?
Footer only gets displayed, when content is an array: https://github.com/yiisoft/yii2-bootstrap/blob/master/src/Collapse.php#L227
Additional info