text formula

This commit is contained in:
Pete Matsyburka committed 2026-07-30 11:55:59 +03:00
1 parent b8c29324b8
commit 5ec8e4ccc7
7 files changed
+69 -11

No files matched your search

@@ -611,7 +611,7 @@ export default {
return this.withCondition && !['stamp', 'heading'].includes(this.field.type)
},
showFormula () {
return this.field.type === 'number' || this.field.type === 'payment'
return this.field.type === 'number' || this.field.type === 'payment' || !!this.field.preferences?.formula
},
showRequired () {
return this.withRequired && !['phone', 'stamp', 'verification', 'strikethrough', 'heading'].includes(this.field.type)