0
i am trying this code but does not work.
$form=ActiveForm::begin(['id'=>
'id' => 'login-form',
'options' => ['class'=>'darkBg','enableClientValidation'=>false,'validateOnBlur' => false],
]); ?>
<?= $form->field($model, 'email')->textInput(['class'=>'form-control','type'=>'text','enableClientValidation'=>false,])->label(false) ?>
我想禁用Yii2 defalut錯誤消息。如何禁用Yii2中的前端端驗證
是的這是工作正常。 –