dap
80328e7565
chore: merge
2025-10-09 20:53:21 +08:00
shierd
42e3de9e2c
fix: 修复设置表单值时合并子对象的错误 ( #6780 )
...
Co-authored-by: shier <shier@shierd.com>
2025-09-30 05:10:39 +08:00
Cup_Of_Bread
81bb7456f8
fix: 修复注解错误 ( #6763 )
2025-09-23 23:49:25 +08:00
pangyajun123
26f8d2aa30
perf: 表单需要通过权限控制是否需要展示,dependencies.if 这种方式需要别triggerFields触发字段,不能满足要求 ( #6756 )
2025-09-23 23:48:27 +08:00
boisduval
a8b848d367
fix: 解决搜索表单中arrayToStringFields属性无法在搜索时生效的问题 ( #6591 )
...
- 合并handleArrayToStringFields与handleStringToArrayFields为handleMultiFields
- 在handleMultiFields判断arrayToString或stringToArray
- 删除两个方法在其他地方的引用 统一为在handleRangeTimeValue内调用handleMultiFields实现数据转换
Co-authored-by: 宛晴 <wanqing@mengtaigroup.com>
2025-09-23 23:45:26 +08:00
dap
6948753412
update: 表单项间距调整
2025-08-21 19:25:35 +08:00
dap
2d89492790
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
2025-08-21 19:20:46 +08:00
ming4762
93f0eea4e7
fix: fix the issue of excessive line spacing in vbenForm ( #6653 )
...
* gap-2和 pb-4/2 重叠导致间距过宽,gap-x只保留列间距
2025-08-21 12:41:04 +08:00
dap
2e72181174
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
2025-08-20 11:16:06 +08:00
ming4762
8ac2db5b7c
fix: fix the issue of VbenForm compact reactive failure ( #6654 )
2025-08-19 16:46:14 +08:00
dap
daf61f7409
refactor: 校验信息间距
2025-08-19 14:33:29 +08:00
dap
a4a7f7d096
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
2025-08-18 09:40:54 +08:00
ming4762
1e6417f95b
feat: vBenForm add layout: inline ( #6644 )
2025-08-16 22:41:08 +08:00
vben
e147a9d2fd
chore: release 5.5.9
2025-08-16 22:16:02 +08:00
dap
46e642a2ce
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
2025-08-08 09:27:26 +08:00
xueyang
9fc594434f
perf: 优化useVbenForm样式 ( #6611 )
...
* perf(style): 优化useVbenForm垂直布局 actions 样式
* perf(style): 优化useVbenForm actions 布局样式
- 操作按钮组显示位置
```
actionPosition?: 'center' | 'left' | 'right';
```
- 操作按钮组的样式
```
actionType?: 'block' | 'inline'
inline: 行类显示,block: 新一行单独显示
```
* perf: 优化useVbenForm actions 布局样式
删除 actionType
增加 actionLayout
- actionLayout?: 'inline' | 'newLine' | 'rowEnd';
- newLine: 在新行显示。rowEnd: 在行内显示,靠右对齐(默认)。inline: 使用grid默认样式
- 删除无用代码 queryFormStyle
* perf: 优化useVbenForm使用案例
* perf: 优化form组件样式
去掉padding,改为gap
* docs: update vben-form.md
* fix: 修复FormMessage位置
* perf: Avoid direct mutation of props object.
- props.actionLayout = props.actionLayout || 'rowEnd';
- props.actionPosition = props.actionPosition || 'right';
+ const actionLayout = props.actionLayout || 'rowEnd';
+ const actionPosition = props.actionPosition || 'right';
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* fix: 修复 wrapperClass 权重
* fix: 全局搜索结果不匹配 #6603
* fix: 避免FormMessage溢出
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-08-07 23:48:34 +08:00
dap
c762f8370b
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
2025-07-20 16:59:49 +08:00
vben
1575619d53
chore: release v5.5.8
2025-07-19 22:19:50 +08:00
panda7
07b64ad384
feat: add function support for formItemClass prop ( #6511 )
...
* feat: add function support for formItemClass prop
* feat: add try-catch to formItemClass function
* fix: formItemClass function ts error
---------
Co-authored-by: sqchen <chenshiqi@sshlx.com>
2025-07-17 09:37:39 +08:00
dap
72e1115330
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
2025-07-16 19:22:15 +08:00
sqchen
f1051c8773
feat: add scrollToFirstError to the form component
2025-07-05 00:50:53 +08:00
sqchen
243f3a201d
feat: add scrollToFirstError to the form component
2025-07-05 00:19:12 +08:00
dap
14b0d9b50f
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
2025-06-04 09:18:54 +08:00
vben
b9aef618fe
chore: release 5.5.7
2025-06-04 05:33:06 +08:00
dap
c3edbec3f0
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
2025-05-25 11:48:58 +08:00
littlesparklet
af186f878d
fix: repair the unexpected form default value ( #5567 )
...
* fix: Fix inconsistent spacing around search form (issue #5429 )
* fix: repair the unexpected default value in validated form.(issue #5451 )
* Update packages/@core/ui-kit/form-ui/src/use-form-context.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
---------
Co-authored-by: Jin Mao <50581550+jinmao88@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-05-23 16:05:11 +08:00
dap
d039c53053
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
2025-05-22 09:20:32 +08:00
Netfan
0c3edb10b0
fix: getFieldComponentRef will return actual ref within AsyncComponentWrapper ( #6252 )
...
修复异步加载组件时,表单的getFieldComponentRef方法没能获取到正确的组件实例
2025-05-21 14:48:51 +08:00
dap
12d0ba24e5
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
2025-05-08 09:28:52 +08:00
vben
cc6c9bf7a0
chore: release v5.5.6
2025-05-06 22:32:58 +08:00
dap
b0763d6429
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
2025-05-04 17:23:32 +08:00
Vben
17a18fc9ba
chore: close eslint object sorting ( #6101 )
2025-05-03 16:06:36 +08:00
Netfan
add1e61b6f
fix: show validation message as tooltip in compact form ( #6087 )
...
* 紧凑模式表单的校验消息将显示为一个tooltip
2025-04-30 23:41:44 +08:00
dap
a10a981fab
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
2025-04-30 11:13:25 +08:00
Netfan
8aa7dabeff
fix: calculation for collapsing search form is incorrect while initially hidden ( #6068 )
...
* 修复当默认隐藏搜索表单时,折叠位置的计算不正确的问题
2025-04-28 23:20:33 +08:00
dap
5f26f5662e
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
2025-04-28 13:19:57 +08:00
vben
7c7051a11e
chore: release v5.5.5
2025-04-27 21:45:10 +08:00
dap
2e2ffcd59e
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
2025-04-16 21:33:11 +08:00
Netfan
f7a4d13a4c
fix: fixed arguments of callbacks in formApi ( #5970 )
...
* 修复 `handleValuesChange` 传递的参数不是处理后的表单值的问题
* 修复 `handleReset` 未能传递正确参数的问题
2025-04-16 14:11:04 +08:00
Netfan
0936861da1
feat: pass fieldsChanged into the handleValuesChange callback function ( #5968 )
...
* fieldsChanged(已被改变值的字段名)将传入handleValuesChange回调函数
2025-04-16 11:29:01 +08:00
dap
f096dfc6e6
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
2025-04-16 10:09:48 +08:00
lztb
d864085c13
feat: vben-form添加arrayToStringFields属性 ( #5957 )
...
* feat: vben-form添加arrayToStringFields属性
* feat: 修改handleArrayToStringFields和handleStringToArrayFields中嵌套数组格式的处理不一致
---------
Co-authored-by: 米山 <17726957223@189.cn>
2025-04-15 16:03:20 +08:00
dap
17e82fb766
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
2025-03-22 18:31:19 +08:00
Netfan
03ceb2aac5
fix: default value for nested fields ( #5763 )
2025-03-21 16:06:14 +08:00
Netfan
39888cebaa
fix: base component focus color in form ( #5760 )
2025-03-21 09:41:42 +08:00
Netfan
efb69fc75f
feat: add form-is-required class for required items. fixed : #5739 ( #5759 )
2025-03-21 09:25:38 +08:00
dap
feb6229383
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
2025-03-19 19:56:52 +08:00
vben
b92ac5c36d
chore: release 5.5.4
2025-03-18 21:43:27 +08:00
dap
e6ee1f57b4
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
2025-03-11 13:38:13 +08:00
Netfan
feab6b3b30
fix: form item style adjustment ( #5694 )
2025-03-11 02:47:06 +08:00