With Client-Side Validation Problems

I found a form of client-side validation small problem:

When the Model validation conditions coupled judgment ‘when =>’ fuanction ($ model) {…}’’ when validation on the client does not work, and how can I fix it?

Level of English is not good, Google Translate, please also partners understanding.

Basically this happens when no activeForm.js is injected to page.

Try to add extra validation rule (without “when”) for one of the fields (for example, ‘safe’) and see if it solves the problem.

Related post

Issue on github

I mean: when I was in the validation rules to add ‘= >’ s fuanction ($model) {…} ', automatically generated js directly to ignore the current condition, what should I improve it?Writing a widget?