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
custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N
11
11
arrow | Boolean | false | \- | N
12
-
help | String | - | \- | N
13
-
label | String | '' | \- | N
12
+
for | String | - | \- | N
13
+
help | String / Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/packages/components/common/common.ts) | N
14
+
label | String / Slot | '' | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/packages/components/common/common.ts) | N
14
15
label-align | String | - | options: left/right/top | N
15
16
label-width | String / Number | - | \- | N
16
17
name | String | - | \- | N
17
-
required-mark | Boolean | true | Whether to display the required symbol (*), which has a higher priority than Form.requiredMark | N
18
-
show-error-message | Boolean | true | When the validation fails, whether to display the error message, which has a higher priority than `Form.showErrorMessage` | N
18
+
required-mark | Boolean | undefined | \- | N
19
+
rules | Array | - | Typescript:`Array<FormRule>` | N
custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N
35
53
arrow | Boolean | false | \- | N
36
-
help | String | - | \- | N
37
-
label | String | '' | \- | N
54
+
for | String | - | \- | N
55
+
help | String / Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/packages/components/common/common.ts) | N
56
+
label | String / Slot | '' | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/packages/components/common/common.ts) | N
57
+
38
58
label-align | String | - | options: left/right/top | N
39
59
label-width | String / Number | - | \- | N
40
60
name | String | - | \- | N
41
61
required-mark | Boolean | undefined | \- | N
62
+
rules | Array | - | Typescript:`Array<FormRule>` | N
63
+
42
64
show-error-message | Boolean | undefined | \- | N
43
65
44
66
### FormRule
45
67
46
68
name | type | default | description | required
47
69
-- | -- | -- | -- | --
48
70
boolean | Boolean | - | \- | N
49
-
date | Boolean / Object | - | Typescript:`boolean \| IsDateOptions``interface IsDateOptions { format: string; strictMode: boolean; delimiters: string[] }`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/packages/components/form/type.ts) | N
50
-
email | Boolean / Object | - | Typescript:`boolean \| IsEmailOptions``import { IsEmailOptions } from 'validator/es/lib/isEmail'`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/packages/components/form/type.ts) | N
71
+
date | Boolean / Object | - | Typescript:`boolean \| IsDateOptions``interface IsDateOptions { format: string; strictMode: boolean; delimiters: string[] }`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/packages/components/form/type.ts) | N
72
+
email | Boolean / Object | - | Typescript:`boolean \| IsEmailOptions``import { IsEmailOptions } from 'validator/es/lib/isEmail'`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/packages/components/form/type.ts) | N
0 commit comments