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