diff --git a/frontend/src/business/components/settings/workspace/template/CustomFieldFormList.vue b/frontend/src/business/components/settings/workspace/template/CustomFieldFormList.vue index 7d22ab458b..9b7e43ee09 100644 --- a/frontend/src/business/components/settings/workspace/template/CustomFieldFormList.vue +++ b/frontend/src/business/components/settings/workspace/template/CustomFieldFormList.vue @@ -124,6 +124,9 @@ export default { item.fieldId = item.id; item.id = null; item.options = JSON.parse(item.options); + if (item.type === 'checkbox') { + item.defaultValue = []; + } }); this.tableData.push(...data); }); diff --git a/frontend/src/business/components/settings/workspace/template/CustomFiledComponent.vue b/frontend/src/business/components/settings/workspace/template/CustomFiledComponent.vue index 15544227f7..5e493bf847 100644 --- a/frontend/src/business/components/settings/workspace/template/CustomFiledComponent.vue +++ b/frontend/src/business/components/settings/workspace/template/CustomFiledComponent.vue @@ -1,5 +1,5 @@