radio group font settings

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

@ -600,7 +600,8 @@ export default {
}
},
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 () {
return !['stamp', 'heading', 'strikethrough'].includes(this.field.type)

@ -452,7 +452,7 @@
class="pb-0.5 mt-0.5"
>
<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"
>
<label

Loading…
Cancel
Save