text formula

This commit is contained in:
Pete Matsyburka
2026-07-30 10:43:59 +03:00
parent b8c29324b8
commit 5ec8e4ccc7
7 changed files with 69 additions and 11 deletions
@@ -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)