radio group font settings

pull/698/merge
Pete Matsyburka 1 month ago
parent bbf8bb2a94
commit 9b25b8538e

@ -600,7 +600,8 @@ export default {
} }
}, },
showFont () { showFont () {
return ['text', 'number', 'date', 'select', 'heading', 'cells'].includes(this.field.type) return ['text', 'number', 'date', 'select', 'heading', 'cells'].includes(this.field.type) ||
(['radio', 'multiple'].includes(this.field.type) && this.field.areas?.every((a) => !a.option_uuid))
}, },
showDescription () { showDescription () {
return !['stamp', 'heading', 'strikethrough'].includes(this.field.type) return !['stamp', 'heading', 'strikethrough'].includes(this.field.type)

@ -452,7 +452,7 @@
class="pb-0.5 mt-0.5" class="pb-0.5 mt-0.5"
> >
<li <li
v-if="['text', 'number', 'date', 'select', 'heading', 'cells'].includes(field.type)" v-if="['text', 'number', 'date', 'select', 'heading', 'cells'].includes(field.type) || (['radio', 'multiple'].includes(field.type) && field.areas?.every((a) => !a.option_uuid))"
class="field-settings-font" class="field-settings-font"
> >
<label <label

Loading…
Cancel
Save