From 701caf3f082734f38e9ca39809d262f8b5762253 Mon Sep 17 00:00:00 2001 From: iamkun Date: Wed, 13 Mar 2019 19:44:50 +0800 Subject: [PATCH] docs: Update Form async validator docs (#14694) --- examples/docs/en-US/form.md | 4 ++++ examples/docs/es/form.md | 4 ++++ examples/docs/fr-FR/form.md | 4 ++++ examples/docs/zh-CN/form.md | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/examples/docs/en-US/form.md b/examples/docs/en-US/form.md index 52c0a4cbea5..036c8614ceb 100644 --- a/examples/docs/en-US/form.md +++ b/examples/docs/en-US/form.md @@ -381,6 +381,10 @@ This example shows how to customize your own validation rules to finish a two-fa ``` ::: +:::tip +See more advanced usage of validation rules at [async-validator](https://github.com/yiminghe/async-validator)。 +::: + ### Delete or add form items dynamically :::demo In addition to passing all validation rules at once on the form component, you can also pass the validation rules or delete rules on a single form field dynamically. diff --git a/examples/docs/es/form.md b/examples/docs/es/form.md index 56bdd751b72..3f137c065da 100644 --- a/examples/docs/es/form.md +++ b/examples/docs/es/form.md @@ -388,6 +388,10 @@ Este ejemplo muestra cómo personalizar sus propias reglas de validación para f ::: +:::tip +See more advanced usage of validation rules at [async-validator](https://github.com/yiminghe/async-validator)。 +::: + ### Eliminar o agregar validaciones dinamicamente :::demo Además de pasar todas las reglas de validación al mismo tiempo en el componente `form`, también puede pasar las reglas de validación o borrar reglas en un único campo de formulario de forma dinámica. diff --git a/examples/docs/fr-FR/form.md b/examples/docs/fr-FR/form.md index c02ea3c55b7..1a50f0d6700 100644 --- a/examples/docs/fr-FR/form.md +++ b/examples/docs/fr-FR/form.md @@ -381,6 +381,10 @@ Cet exemple montre comment vous pouvez personnaliser vos règles de validation p ``` ::: +:::tip +See more advanced usage of validation rules at [async-validator](https://github.com/yiminghe/async-validator)。 +::: + ### Ajouter ou supprimer des champs dynamiquement :::demo En plus de pouvoir passer toutes les règles de validation en une seule fois au formulaire, vous pouvez aussi ajouter ou supprimer des règles sur un seul champ de manière dynamique. diff --git a/examples/docs/zh-CN/form.md b/examples/docs/zh-CN/form.md index e94fd53ca33..e3c0f539f53 100644 --- a/examples/docs/zh-CN/form.md +++ b/examples/docs/zh-CN/form.md @@ -377,6 +377,10 @@ W3C 标准中有如下[规定](https://www.w3.org/MarkUp/html-spec/html-spec_8.h ``` ::: +:::tip +校验规则更多高级用法可参考 [async-validator](https://github.com/yiminghe/async-validator)。 +::: + ### 动态增减表单项 :::demo 除了在 Form 组件上一次性传递所有的验证规则外还可以在单个的表单域上传递属性的验证规则