yii2-bootstrap4
yii2-bootstrap4 copied to clipboard
Yii 2 Bootstrap 4 Extension
### What steps will reproduce the problem? Create an accordion widget with any number of groups. ### What's expected? All accordion groups to be closed by default. ### What do...
We might also implement [File Browser](https://getbootstrap.com/docs/4.3/components/forms/#file-browser), but there are some caveats here. - Label is not really used as label (or at least not how I would expect a label...
### What steps will reproduce the problem? Set up a validation rule: ```php class MyModel extends ActiveRecord { public function rules(): array { return [ [['features'], 'required'], ]; } //...
The issue is related to the extension `yiisoft/yii2-bootstrap4` but I think it is due to a compatibility issue of `yiisoft/yii2` ### What steps will reproduce the problem? **Model** ``` class...
https://github.com/yiisoft/yii2-bootstrap4/blob/37a0cc2f11f6f38b562ab9306eed2f899b72838a/src/Nav.php#L120 The 'nav' class is always added in yii\bootstrap4\Nav's init method. The documentation for yii\bootstrap4\NavBar indicates that yii\bootstrap4\Nav should be used between the begin() and end() calls of NavBar to...
| Q | A | ------------- | --- | Is bugfix? | no | New feature? | yes | Breaks BC? | yes | Tests pass? | yes | Fixed...
### What steps will reproduce the problem? BaseHtml automatically generates ID's for `boolean()` inputs (like radio and checkbox) with a label: https://github.com/yiisoft/yii2-bootstrap4/blob/master/src/BaseHtml.php#L146 This is similar to the mechanism Yii core...
| Q | A | ------------- | --- | Is bugfix? | yes | New feature? | no | Breaks BC? | no | Tests pass? | no If an...
### What steps will reproduce the problem? In my container I set this definition: ```php 'definitions' => [ 'radioOptions' => [ 'class' => ['widget' => 'form-check-input'], 'labelOptions' => [ 'class'...
### What steps will reproduce the problem? render inline custom radiolist ### What's expected? on client validate error under list ### What do you get instead? error after last radio...