Commit 1b81503d by Alexander Kochetov

\yii\widgets\ActiveForm incorrect js selector for `errorSummaryCss` property better fix

parent 24239e42
...@@ -197,7 +197,7 @@ class ActiveForm extends Widget ...@@ -197,7 +197,7 @@ class ActiveForm extends Widget
protected function getClientOptions() protected function getClientOptions()
{ {
$options = [ $options = [
'errorSummary' => '.' . implode('.', explode(' ', $this->errorSummaryCssClass)), 'errorSummary' => '.' . implode('.', preg_split('/\s+/', $this->errorSummaryCssClass, -1, PREG_SPLIT_NO_EMPTY)),
'validateOnSubmit' => $this->validateOnSubmit, 'validateOnSubmit' => $this->validateOnSubmit,
'errorCssClass' => $this->errorCssClass, 'errorCssClass' => $this->errorCssClass,
'successCssClass' => $this->successCssClass, 'successCssClass' => $this->successCssClass,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment