yii2: possibility to show all error messages in activeForm
current implementation of client and server validation only show the first error message for an input. We have already control for this in model when setting skipOnError
so if I set skipOnError
in model I expect the error message to appear in the form.
It should be possible to configure/enable this behavior in ActiveForm.
About this issue
- Original URL
- State: closed
- Created 10 years ago
- Reactions: 1
- Comments: 17 (15 by maintainers)
Commits related to this issue
- Fixes #3087: Added `yii\helpers\BaseHtml::error()` "errorMethod" option to be able to customize errors display — committed to yiisoft/yii2 by yanggs07 7 years ago
this is not about errorSummary but about inputs in activeform.
@cebe @qiangxue @samdark
What do you think about creating an option to catch all errors that way?
helpers\BaseHtml.php
no idea, could be in 2.0.x if it is configurable and default behavior does not change.