simialbi
simialbi
I think to show the error(s) on top of the form, you should use [`ErrorSummary`](https://github.com/yiisoft/yii2/blob/master/framework/widgets/ActiveForm.php#L302).
What about setting ```php [ 'items' => [ [ // [...], 'expand' => false ] ] ] ```
@algsupport you're right, it's done because of compatibility with [yii\bootstrap\Collapse](https://github.com/yiisoft/yii2-bootstrap/blob/master/src/Collapse.php)
Of course should it be added. See docs: https://getbootstrap.com/docs/4.6/components/navs/ If you do not want the class to get added, Initialize Nav like this: ```php Nav::widget(['class' => ['widget' => '']]); ```
Hmmm... What about ```php Nav::widget(['class' => ['widget' => 'navbar-nav']]); ``` ?
According this test: https://github.com/simialbi/yii2-bootstrap4/blob/master/tests/NavBarTest.php#L86 It works (namespaced class...): https://github.com/simialbi/yii2-bootstrap4/actions/runs/1104198066
In my opinion there should be an `active` option in items array, if there is none (in none of the items), the first will be activated, otherwhise the one activated.
I don't think it makes sense to copy the general "input options" to static control too. It has other classes and properties: https://getbootstrap.com/docs/4.3/components/forms/#readonly-plain-text
No the static control is not like other fields. It's not just the readonly property, it has other classes and just exists in bootstrap library because it just exists in...
Could not reproduce it. Which size are you talking about?