panda7
573637222d
feat: add form handleCollapsedChange event ( #6893 )
...
* feat: add form handleCollapsedChange event
* fix: ts lint
* fix: ts error
---------
Co-authored-by: sqchen <chenshiqi@sshlx.com>
2025-11-12 02:03:12 +08:00
pangyajun123
26f8d2aa30
perf: 表单需要通过权限控制是否需要展示,dependencies.if 这种方式需要别triggerFields触发字段,不能满足要求 ( #6756 )
2025-09-23 23:48:27 +08:00
谦元吉
58e3941810
chore(docs): update the component import of the form adapter description in the document ( #6656 )
2025-08-19 16:48:10 +08:00
ming4762
1e6417f95b
feat: vBenForm add layout: inline ( #6644 )
2025-08-16 22:41:08 +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
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
sqchen
243f3a201d
feat: add scrollToFirstError to the form component
2025-07-05 00:19:12 +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
superdl1996
cde1a85394
docs: typo ( #5855 )
2025-04-03 19:11:40 +08:00
Netfan
e91e4e0eea
docs: fix form compact docs ( #5811 )
...
* docs: fix form `compact` docs
* docs: remove `compact` from FormCommonConfig
2025-03-28 16:15:35 +08:00
Netfan
04dff33ac5
feat: improved formApi for component instance support
...
* 改进表单API以支持组件实例的获取,以及焦点字段的获取
2025-03-10 02:56:44 +08:00
Netfan
c3eb4fab13
docs: fix zod rules docs
2025-02-27 17:27:00 +08:00
Netfan
a221d2b491
fix: form item overflow fixed and layout improved ( #5572 )
...
* fix: form item overflow fixed and layout improved
* fix: basic form demo update
* feat: form label support render
* fix: form docs update
2025-02-20 23:05:08 +08:00
Netfan
a9f9031f49
docs: update form docs ( #5485 )
2025-02-06 09:45:28 +08:00
Netfan
fb0ec05ff8
perf: improve fieldMappingTime to support format function ( #5392 )
2025-01-14 18:15:00 +08:00
Netfan
516d0b8dc8
fix: form fieldMappingTime improve and modelPropName support ( #5335 )
...
* 表单的fieldMappingTime支持将格式化掩码设为null以便原值映射,这样可以支持非日期时间类型的组件;
* 表单增加modelPropName设置组件的双向绑定属性名,用于支持未提前注册的双向绑定属性为非默认名称的组件。
* 增加一些经常会有人提到的组合字段演示,
2025-01-09 22:49:28 +08:00
Netfan
b22d900e27
feat: form compact mode support ( #5165 )
2024-12-17 20:51:17 +08:00
Netfan
593916d6aa
feat: form colon support ( #5156 )
2024-12-16 22:37:29 +08:00
Netfan
38805a0e1f
feat: improve code login demo ( #5154 )
...
* feat: add some method in formApi
* fix: VbenPinInput style with small screen
* chore: improve code login demo
2024-12-16 20:48:51 +08:00
Netfan
7c4dfdc1c2
feat: form support reverse action buttons ( #5108 )
...
* feat: form support reverse action buttons
* fix: submit button class
2024-12-11 15:29:25 +08:00
Netfan
43adc943b9
docs: fix typos ( #5105 )
2024-12-11 14:48:08 +08:00
huangxiaomin
fe236ea929
feat: add submitOnChange props to vben form ( #5032 )
2024-12-05 11:23:21 +08:00
Netfan
e23486dbc6
feat: form component IconPicker ( #5005 )
2024-12-04 21:42:21 +08:00
Netfan
32117b73aa
docs: add form slots docs ( #4992 )
2024-12-01 21:37:19 +08:00
Vben
8617d3dd1e
perf: formApi added validateAndSubmitForm & filedMapToTime renamed fieldMappingTime ( #4842 )
...
* perf: formApi added validateAndSubmitForm & filedMapToTime renamed fieldMappingTime
2024-11-09 15:00:59 +08:00
Vben
2c6edafeb2
fix: when opening the tool separately, there is no need to pass the toolbar-tools slot ( #4841 )
2024-11-09 14:07:41 +08:00
Vben
1b172b0329
fix: rename the Icon component to IconifyIcon to prevent name conflicts and fix type issues ( #4704 )
2024-10-21 20:14:25 +08:00
Vben
0df8c5c02c
refactor: reconstruct language files into multi-file structures ( #4683 )
...
* refactor: reconstruct language files into multi-file structures
* chore: typo
2024-10-19 14:28:21 +08:00
Vben
6cd9937c03
feat: add submitOnEnter configuration to form ( #4670 )
2024-10-17 22:53:05 +08:00
Vben
6c4a742627
refactor: remove the adapter bucket introduction pattern and improve potential introduction timing ( #4635 )
...
* refactor: remove the adapter bucket introduction pattern and improve potential introduction timing
* chore: update deps
2024-10-14 22:53:23 +08:00
Vben
24d14c2841
refactor(adapter): separate form and component adapters so that components adapt to components other than the form ( #4628 )
...
* refactor: global components can be customized
* refactor: remove use Toast and reconstruct the form adapter
2024-10-13 18:33:43 +08:00
Vben
4173264805
feat: add vxe-table component ( #4563 )
...
* chore: wip vxe-table
* feat: add table demo
* chore: follow ci recommendations to adjust details
* chore: add custom-cell demo
* feat: add custom-cell table demo
* feat: add table from demo
2024-10-04 23:05:28 +08:00
Vben
f7016466ee
feat: add examples of asynchronous form verification and verification time ( #4559 )
...
* feat: add examples of asynchronous form verification and verification time
2024-10-03 15:15:50 +08:00
LinaBell
bb6057cac3
perf: setValues method of the form supports assigning values only to keys that exist in the schema ( #4508 )
...
* fix: hover border style same as antd style when validate error
* fix: hover border style same as antd style when validate error
* feat(@vben-core/form-ui): Default form validation rules applicable to selector components
* fix: Missing the default required label style for components such as select
* fix: the focus style and antd of the input box validation failure should be consistent
* fix: the focus style and antd of the input box validation failure should be consistent
* fix: some antd components failed to verify styles
* perf: setValues method of the form supports assigning values only to keys that exist in the schema
* docs: update form component docs
---------
Co-authored-by: vince <vince292007@gmail.com>
2024-09-25 17:09:38 +08:00
Vben
5ce3a18785
docs: update docs ( #4466 )
...
* chore: fixed known issues with form components
* docs: add vben form doc
2024-09-22 14:16:06 +08:00
Vben
524b9badf2
feat: add VbenForm component ( #4352 )
...
* feat: add form component
* fix: build error
* feat: add form adapter
* feat: add some component
* feat: add some component
* feat: add example
* feat: suppoer custom action button
* chore: update
* feat: add example
* feat: add formModel,formDrawer demo
* fix: build error
* fix: typo
* fix: ci error
---------
Co-authored-by: jinmao <jinmao88@qq.com>
Co-authored-by: likui628 <90845831+likui628@users.noreply.github.com>
2024-09-10 21:48:51 +08:00