You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 25, 2017. It is now read-only.
when I write initial="off" in the input type="checkbox" or type="radio", open Chrome, the error tips is still exist no matter I was first open.
code as follow:
<validatorname="validation1"><formnovalidate><h1>Survey</h1><fieldset><legend>Which do you like fruit ?</legend><!-- checkbox、radio使用initial="off"不生效 --><inputid="apple" type="radio" name="fruit" initial="off" value="apple" v-validate:fruits="{ required: true }"><labelfor="apple">Apple</label><inputid="orange" type="radio" name="fruit" value="orange" initial="off" v-validate:fruits><labelfor="orange">Orage</label><inputid="grape" type="radio" name="fruit" value="grape" initial="off" v-validate:fruits><labelfor="grape">Grape</label><inputid="banana" type="radio" name="fruit" value="banana" initial="off" v-validate:fruits><labelfor="banana">Banana</label><pv-if="$validation1.fruits.required">required fields</p><p>{{$validation1.fruits | json}}</p></fieldset></form></validator>
The text was updated successfully, but these errors were encountered:
vue & vue-validator version
v1.0.18, v2.0.2
Reproduction Link
Steps to reproduce
What is Expected?
What is actually happening?
when I write initial="off" in the input type="checkbox" or type="radio", open Chrome, the error tips is still exist no matter I was first open.
code as follow:
The text was updated successfully, but these errors were encountered: