Answer the question
In order to leave comments, you need to log in
How to remove color during input validation?
Just not editing in styles, is there any attribute that disables highlighting on successful validation in the form?
Answer the question
In order to leave comments, you need to log in
If memory serves, then when initializing ActiveForm, there is an opportunity in the parameters to specify a class for both successful and not successful fields. Accordingly, these are successCssClass and errorCssClass in the clientOptions array. If we are talking about the first version of the framework, of course)
For Yii2:
$form = ActiveForm::begin([
'successCssClass'=>' ',
'requiredCssClass' => ' ',
'errorCssClass' => ' '
]);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question