File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,9 @@ globalThis.gitClerkConfig = {
5151 type: " string"
5252 }
5353 }
54+ },
55+ jsonform: {
56+ options: {} // jsonform options
5457 }
5558 },
5659 {
Original file line number Diff line number Diff line change @@ -69,6 +69,12 @@ const schemaMap = [
6969 content : {
7070 foo : "Initial content for file creation" ,
7171 } ,
72+ jsonform : {
73+ options : {
74+ disable_edit_json : false ,
75+ disable_properties : false ,
76+ } ,
77+ } ,
7278 preview : "/example-preview.html" ,
7379 } ,
7480] ;
Original file line number Diff line number Diff line change @@ -262,6 +262,7 @@ onUnmounted(() => {
262262 :schema =" schemaMetaDetails.schema"
263263 :value =" updatedFileContent"
264264 :customEditorInterfaces =" customInterfaces"
265+ :options =" schemaMetaDetails.jsonform?.options || {}"
265266 @change =" onFileChange"
266267 class =" d-block fill-height"
267268 ></eox-jsonform >
You can’t perform that action at this time.
0 commit comments