feat: add submitOnChange props to vben form (#5032)

This commit is contained in:
huangxiaomin
2024-12-05 11:23:21 +08:00
committed by GitHub
parent 05b4b61c6e
commit fe236ea929
6 changed files with 23 additions and 1 deletions

View File

@@ -65,6 +65,8 @@ const formOptions: VbenFormProps = {
],
// 控制表单是否显示折叠按钮
showCollapseButton: true,
// 是否在字段值改变时提交表单
submitOnChange: true,
// 按下回车时是否提交表单
submitOnEnter: false,
};