optimize builder

This commit is contained in:
Pete Matsyburka
2026-01-30 09:58:30 +02:00
parent c0793f3ce7
commit bccc78ee65
11 changed files with 52 additions and 28 deletions
+2 -2
View File
@@ -401,7 +401,7 @@ export default {
FieldSubmitter,
IconX
},
inject: ['template', 'save', 't', 'isInlineSize', 'selectedAreasRef', 'isCmdKeyRef'],
inject: ['template', 'save', 't', 'isInlineSize', 'selectedAreasRef', 'isCmdKeyRef', 'getFieldTypeIndex'],
props: {
area: {
type: Object,
@@ -579,7 +579,7 @@ export default {
return this.$el.getRootNode().querySelector('#docuseal_modal_container')
},
defaultName () {
return this.buildDefaultName(this.field, this.template.fields)
return this.buildDefaultName(this.field)
},
fontClasses () {
if (!this.field.preferences) {