Skip to content

Commit

Permalink
Form: fix a typo in docs (ElemeFE#10778)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leopoldthecoder authored Apr 19, 2018
1 parent 071e44b commit 9063dcf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/docs/en-US/form.md
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ This example shows how to customize your own validation rules to finish a two-fa
label="Email"
:rules="[
{ required: true, message: 'Please input email address', trigger: 'blur' },
{ type: 'email', message: 'Please input correct email address', trigger: 'blur,change' }
{ type: 'email', message: 'Please input correct email address', trigger: ['blur', 'change'] }
]"
>
<el-input v-model="dynamicValidateForm.email"></el-input>
Expand Down
2 changes: 1 addition & 1 deletion examples/docs/es/form.md
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ Este ejemplo muestra cómo personalizar sus propias reglas de validación para f
label="Email"
:rules="[
{ required: true, message: 'Please input email address', trigger: 'blur' },
{ type: 'email', message: 'Please input correct email address', trigger: 'blur,change' }
{ type: 'email', message: 'Please input correct email address', trigger: ['blur', 'change'] }
]"
>
<el-input v-model="dynamicValidateForm.email"></el-input>
Expand Down
2 changes: 1 addition & 1 deletion examples/docs/zh-CN/form.md
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ W3C 标准中有如下[规定](https://www.w3.org/MarkUp/html-spec/html-spec_8.h
label="邮箱"
:rules="[
{ required: true, message: '请输入邮箱地址', trigger: 'blur' },
{ type: 'email', message: '请输入正确的邮箱地址', trigger: 'blur,change' }
{ type: 'email', message: '请输入正确的邮箱地址', trigger: ['blur', 'change'] }
]"
>
<el-input v-model="dynamicValidateForm.email"></el-input>
Expand Down

0 comments on commit 9063dcf

Please sign in to comment.