dap
80328e7565
chore: merge
3 months ago
shierd
42e3de9e2c
fix: 修复设置表单值时合并子对象的错误 ( #6780 )
...
Co-authored-by: shier <shier@shierd.com>
3 months ago
Cup_Of_Bread
81bb7456f8
fix: 修复注解错误 ( #6763 )
3 months ago
pangyajun123
26f8d2aa30
perf: 表单需要通过权限控制是否需要展示,dependencies.if 这种方式需要别triggerFields触发字段,不能满足要求 ( #6756 )
3 months ago
boisduval
a8b848d367
fix: 解决搜索表单中arrayToStringFields属性无法在搜索时生效的问题 ( #6591 )
...
- 合并handleArrayToStringFields与handleStringToArrayFields为handleMultiFields
- 在handleMultiFields判断arrayToString或stringToArray
- 删除两个方法在其他地方的引用 统一为在handleRangeTimeValue内调用handleMultiFields实现数据转换
Co-authored-by: 宛晴 <wanqing@mengtaigroup.com>
3 months ago
dap
6948753412
update: 表单项间距调整
4 months ago
dap
2d89492790
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
4 months ago
ming4762
93f0eea4e7
fix: fix the issue of excessive line spacing in vbenForm ( #6653 )
...
* gap-2和 pb-4/2 重叠导致间距过宽,gap-x只保留列间距
4 months ago
dap
2e72181174
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
4 months ago
ming4762
8ac2db5b7c
fix: fix the issue of `VbenForm` `compact` reactive failure ( #6654 )
4 months ago
dap
daf61f7409
refactor: 校验信息间距
4 months ago
dap
a4a7f7d096
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
4 months ago
ming4762
1e6417f95b
feat: vBenForm add layout: inline ( #6644 )
4 months ago
vben
e147a9d2fd
chore: release 5.5.9
4 months ago
dap
46e642a2ce
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
5 months ago
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>
5 months ago
dap
c762f8370b
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
5 months ago
vben
1575619d53
chore: release v5.5.8
5 months ago
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>
6 months ago
dap
72e1115330
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
6 months ago
sqchen
f1051c8773
feat: add scrollToFirstError to the form component
6 months ago
sqchen
243f3a201d
feat: add scrollToFirstError to the form component
6 months ago
dap
14b0d9b50f
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
7 months ago
vben
b9aef618fe
chore: release 5.5.7
7 months ago
dap
c3edbec3f0
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
7 months ago
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>
7 months ago
dap
d039c53053
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
7 months ago
Netfan
0c3edb10b0
fix: getFieldComponentRef will return actual ref within AsyncComponentWrapper ( #6252 )
...
修复异步加载组件时,表单的getFieldComponentRef方法没能获取到正确的组件实例
7 months ago
dap
12d0ba24e5
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
8 months ago
vben
cc6c9bf7a0
chore: release v5.5.6
8 months ago
dap
b0763d6429
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
8 months ago
Vben
17a18fc9ba
chore: close eslint object sorting ( #6101 )
8 months ago
Netfan
add1e61b6f
fix: show validation message as tooltip in compact form ( #6087 )
...
* 紧凑模式表单的校验消息将显示为一个tooltip
8 months ago
dap
a10a981fab
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
8 months ago
Netfan
8aa7dabeff
fix: calculation for collapsing search form is incorrect while initially hidden ( #6068 )
...
* 修复当默认隐藏搜索表单时,折叠位置的计算不正确的问题
8 months ago
dap
5f26f5662e
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
8 months ago
vben
7c7051a11e
chore: release v5.5.5
8 months ago
dap
2e2ffcd59e
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
9 months ago
Netfan
f7a4d13a4c
fix: fixed arguments of callbacks in `formApi` ( #5970 )
...
* 修复 `handleValuesChange` 传递的参数不是处理后的表单值的问题
* 修复 `handleReset` 未能传递正确参数的问题
9 months ago
Netfan
0936861da1
feat: pass `fieldsChanged` into the `handleValuesChange` callback function ( #5968 )
...
* fieldsChanged(已被改变值的字段名)将传入handleValuesChange回调函数
9 months ago
dap
f096dfc6e6
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
9 months ago
lztb
d864085c13
feat: vben-form添加arrayToStringFields属性 ( #5957 )
...
* feat: vben-form添加arrayToStringFields属性
* feat: 修改handleArrayToStringFields和handleStringToArrayFields中嵌套数组格式的处理不一致
---------
Co-authored-by: 米山 <17726957223@189.cn>
9 months ago
dap
17e82fb766
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
9 months ago
Netfan
03ceb2aac5
fix: default value for nested fields ( #5763 )
9 months ago
Netfan
39888cebaa
fix: base component focus color in form ( #5760 )
9 months ago
Netfan
efb69fc75f
feat: add `form-is-required` class for required items. fixed : #5739 ( #5759 )
9 months ago
dap
feb6229383
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
10 months ago
vben
b92ac5c36d
chore: release 5.5.4
10 months ago
dap
e6ee1f57b4
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
10 months ago
Netfan
feab6b3b30
fix: form item style adjustment ( #5694 )
10 months ago