V
V
Vlad Osadchyi2019-03-05 13:27:15
Yii
Vlad Osadchyi, 2019-03-05 13:27:15

Problem with .help-block-error yii2?

There are two forms in the same project, one will have the "help-block-error" class in the block with an error in case of validation error, and the second one will not. How to make all blocks with an error have the "help-block-error" class
UPD : I found the answer myself, in order to have the "help-block-error" class , you need to use yii\bootstrap\ActiveForm , not yii\widgets\ ActiveForm

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question