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
Copy file name to clipboardExpand all lines: src/components/form/Form/Form.docs.mdx
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ These properties are inherited by all input components within the form:
60
60
61
61
| Property | Type | Description |
62
62
|----------|------|-------------|
63
-
|`labelPosition`|`'top' \| 'side'`| Where to place labels relative to inputs |
63
+
|`labelPosition`|`'top' \| 'side' \| 'split'`| Where to place labels relative to inputs. `'top'` places labels above inputs, `'side'` places labels beside inputs with fixed width, `'split'` places labels and inputs on opposite sides without fixed label width|
64
64
|`requiredMark`|`boolean`| Whether to show required field indicators |
65
65
|`isRequired`|`boolean`| Whether fields are required by default |
66
66
|`necessityIndicator`|`'icon' \| 'label'`| Type of necessity indicator |
@@ -86,6 +86,7 @@ The `mods` property accepts the following modifiers:
86
86
| Modifier | Type | Description |
87
87
|----------|------|-------------|
88
88
|`has-sider`|`boolean`| Applied when `labelPosition="side"`|
89
+
|`has-split`|`boolean`| Applied when `labelPosition="split"`|
89
90
|`horizontal`|`boolean`| Applied when `orientation="horizontal"`|
0 commit comments