mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 06:42:32 -05:00
fix checkboxes
This commit is contained in:
1 parent
f94ef3afdc
commit
a2cf8fc5b5
6 files changed
+22
-20
No files matched your search
@@ -314,7 +314,7 @@ export default {
|
||||
const field = {
|
||||
name: '',
|
||||
uuid: v4(),
|
||||
required: true,
|
||||
required: type !== 'checkbox',
|
||||
type,
|
||||
submitter_uuid: this.selectedSubmitter.uuid,
|
||||
areas: [area]
|
||||
@@ -333,7 +333,7 @@ export default {
|
||||
type: this.dragFieldType,
|
||||
uuid: v4(),
|
||||
submitter_uuid: this.selectedSubmitter.uuid,
|
||||
required: true
|
||||
required: this.dragFieldType !== 'checkbox'
|
||||
}
|
||||
|
||||
if (['select', 'multiple', 'radio'].includes(this.dragFieldType)) {
|
||||
|
||||
Reference in new issue
Block a user