mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 14:42:32 -05:00
add readonly fields via api
This commit is contained in:
1 parent
3dd7c47558
commit
69a3782903
4 files changed
+39
-7
No files matched your search
@@ -484,7 +484,7 @@ export default {
|
||||
return this.currentStepFields[0]
|
||||
},
|
||||
stepFields () {
|
||||
return this.fields.reduce((acc, f) => {
|
||||
return this.fields.filter((f) => !f.readonly).reduce((acc, f) => {
|
||||
const prevStep = acc[acc.length - 1]
|
||||
|
||||
if (f.type === 'checkbox' && Array.isArray(prevStep) && prevStep[0].type === 'checkbox') {
|
||||
|
||||
Reference in new issue
Block a user