diff --git a/ccp/js/inputwidgeteditorcontroller.js b/ccp/js/inputwidgeteditorcontroller.js index 227b91c..0447908 100644 --- a/ccp/js/inputwidgeteditorcontroller.js +++ b/ccp/js/inputwidgeteditorcontroller.js @@ -52,6 +52,12 @@ class CCPInputWidgetEditorController extends HTMLElement{ } } + renderDeleteButton(){ + + } + render(input, i, reopen){ this.#index = i this.#input = input @@ -60,9 +66,7 @@ class CCPInputWidgetEditorController extends HTMLElement{
- + ${ input.id !== 'ccpimage' ? this.renderDeleteButton()}
diff --git a/ccp/js/methodeditorcontroller2.js b/ccp/js/methodeditorcontroller2.js index ecb8b72..e2b8fb6 100644 --- a/ccp/js/methodeditorcontroller2.js +++ b/ccp/js/methodeditorcontroller2.js @@ -248,7 +248,7 @@ class CCPMethodEditorController extends HTMLElement{ this.#current.metadata = [] this.#tmp_inputs = [ { - id : "runtime", + id : "ccpimage", title : "Runtime", description : "The image of the runtime to use for method execution. This depends on the infrastructure specific protocol for interacting with registries.", minOccurs : 1, @@ -256,6 +256,7 @@ class CCPMethodEditorController extends HTMLElement{ schema : { type : "string", format : "url", + contentMediaType : "text/plain" default : "", readonly : true, }