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: packages/web-vue/CHANGELOG.md
+19
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,25 @@
2
2
changelog: true
3
3
```
4
4
5
+
## 2.51.0
6
+
7
+
`2023-09-01`
8
+
9
+
### ⚠️ Important Attention
10
+
11
+
- **form:** `form-item` render element adds `id` attribute, please pay attention to the impact on the original web page
12
+
13
+
### 🆕 Feature
14
+
15
+
- **form:** add scroll into view to the field ([#2680](https://github.com/arco-design/arco-design-vue/pull/2680))
16
+
- **table:** Support displaying empty subtrees ([#2673](https://github.com/arco-design/arco-design-vue/pull/2673))
17
+
- **select:** support boolean type ([#2661](https://github.com/arco-design/arco-design-vue/pull/2661))
18
+
19
+
### 🐛 BugFix
20
+
21
+
- **typography:** Fix the problem of missing related component styles when importing on demand ([#2682](https://github.com/arco-design/arco-design-vue/pull/2682))
|auto-label-width|Whether to enable automatic label width, it only takes effect under `layout="horizontal"`.|`boolean`|`false`|2.13.0|
53
-
|scroll-to-first-error|Scroll to the first error field after verification fails, receiving all parameters of[scroll-into-view-if-needed](https://github.com/stipsan/scroll-into-view-if-needed)|`boolean \| ScrollIntoViewOptions`|`-`||
53
+
|scroll-to-first-error|Scroll to the first error field after verification fails|`boolean`|`false`|2.51.0|
54
54
### `<form>` Events
55
55
56
56
|Event Name|Description|Parameters|
@@ -60,14 +60,14 @@ description: A form with data collection, verification and submission functions,
|validate|Verify all form data|callback: `(errors: undefined \| Record<string, ValidatedError>) => void`|Promise<undefined \| Record<string, ValidatedError>>|
66
-
|validateField|Validate part of the form data|field: `string \| string[]`<br>callback: `(errors: undefined \| Record<string, ValidatedError>) => void`|Promise<undefined \| Record<string, ValidatedError>>|
67
-
|resetFields|Reset form data|field: `string \| string[]`|-|
|setFields|Set the value and status of the form item|data: `Record<string, FieldData>`|-|
70
-
|scrollToField|Scroll to the specified form item|field: `string`<br>options: `ScrollIntoViewOptions`|-|
63
+
|Method|Description|Parameters|Return|version|
64
+
|---|---|---|:---:|:---|
65
+
|validate|Verify all form data|callback: `(errors: undefined \| Record<string, ValidatedError>) => void`|Promise<undefined \| Record<string, ValidatedError>>||
66
+
|validateField|Validate part of the form data|field: `string \| string[]`<br>callback: `(errors: undefined \| Record<string, ValidatedError>) => void`|Promise<undefined \| Record<string, ValidatedError>>||
67
+
|resetFields|Reset form data|field: `string \| string[]`|-||
0 commit comments