radio group font settings
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user