fix: form component events bind (#5137)

* fix: from component events bind

* chore: update docs

* chore: default value and docs sync
This commit is contained in:
Netfan
2024-12-14 17:42:13 +08:00
committed by GitHub
parent 0410f1e1be
commit 698daf46c7
6 changed files with 6 additions and 12 deletions

View File

@@ -14,8 +14,6 @@ setupVbenForm<ComponentType>({
Upload: 'fileList',
CheckboxGroup: 'model-value',
},
// select等组件的筛选功能会抛出input事件需要禁用表单的input事件监听以免错误地更新了组件值
disabledOnInputListener: true,
},
defineRules: {
required: (value, _params, ctx) => {