mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 14:42:32 -05:00
readonly radio
This commit is contained in:
1 parent
d2c9bbf6ab
commit
4f5acbec9d
2 files changed
+2
-2
No files matched your search
@@ -399,7 +399,7 @@ export default {
|
||||
showReadOnly () {
|
||||
if (!this.field) return false
|
||||
|
||||
return ['text', 'number'].includes(this.field.type)
|
||||
return ['text', 'number', 'radio', 'multiple', 'select'].includes(this.field.type)
|
||||
},
|
||||
isRequired () {
|
||||
return this.field?.required || false
|
||||
|
||||
@@ -437,7 +437,7 @@
|
||||
</label>
|
||||
</li>
|
||||
<li
|
||||
v-if="['text', 'number'].includes(field.type)"
|
||||
v-if="['text', 'number', 'radio', 'multiple', 'select'].includes(field.type)"
|
||||
@click.stop
|
||||
>
|
||||
<label class="cursor-pointer py-1.5">
|
||||
|
||||
Reference in new issue
Block a user