diff --git a/components/form/demo/register.md b/components/form/demo/register.md new file mode 100644 index 000000000..f43019d39 --- /dev/null +++ b/components/form/demo/register.md @@ -0,0 +1,260 @@ + +#### 注册新用户 +用户填写必须的信息以注册新用户。 + + + +#### Registration +Fill in this form to create a new account for you. + + +```html + +``` + + + diff --git a/components/form/demo/test.vue b/components/form/demo/test.vue index 026703bca..3dc8fdc54 100644 --- a/components/form/demo/test.vue +++ b/components/form/demo/test.vue @@ -1,67 +1,185 @@ - - diff --git a/components/form/demo/time-related-controls.md b/components/form/demo/time-related-controls.md new file mode 100644 index 000000000..712d2c1b8 --- /dev/null +++ b/components/form/demo/time-related-controls.md @@ -0,0 +1,131 @@ + +#### 时间类控件 +时间类组件的 `value` 为 `moment` 类型,所以在提交前需要预处理。 + + + +#### Time-related Controls +the `value` of time-related components is `moment`. So, we need to pre-process those values. + + +```html + +``` + + + diff --git a/components/form/demo/validate-other.md b/components/form/demo/validate-other.md new file mode 100644 index 000000000..1a71ea1dc --- /dev/null +++ b/components/form/demo/validate-other.md @@ -0,0 +1,205 @@ + +#### 校验其他组件 +以上演示没有出现的表单控件对应的校验演示。 + + + +#### Other Form Controls +Demostration for validataion configuration for form controls which are not show in the above demos. + + +```html + + +``` + + +