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.
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?