readonly radio

This commit is contained in:
Pete Matsyburka
2026-01-28 21:36:48 +02:00
parent d2c9bbf6ab
commit 4f5acbec9d
2 changed files with 2 additions and 2 deletions
@@ -399,7 +399,7 @@ export default {
showReadOnly () { showReadOnly () {
if (!this.field) return false if (!this.field) return false
return ['text', 'number'].includes(this.field.type) return ['text', 'number', 'radio', 'multiple', 'select'].includes(this.field.type)
}, },
isRequired () { isRequired () {
return this.field?.required || false return this.field?.required || false
@@ -437,7 +437,7 @@
</label> </label>
</li> </li>
<li <li
v-if="['text', 'number'].includes(field.type)" v-if="['text', 'number', 'radio', 'multiple', 'select'].includes(field.type)"
@click.stop @click.stop
> >
<label class="cursor-pointer py-1.5"> <label class="cursor-pointer py-1.5">