yii2-bootstrap4
yii2-bootstrap4 copied to clipboard
Fix: Show error on empty checkboxList/radioList field
| Q | A |
|---|---|
| Is bugfix? | yes |
| New feature? | no |
| Breaks BC? | no |
| Tests pass? | no |
If an error occurs on an empty checboxList/radioList field, no error message is displayed, since the current implementation of error output in yii2-bootstrap4 is bound to the last displayed item. This fix disables the logic of replacing a field template if the list is empty.
Is it solved by https://github.com/yiisoft/yii2-bootstrap4/commit/d1af1e2db4481a3ae523a35a6b5cb0b30a56f13b?