feature: Allow arbitary HTML on argument form (useful for descriptions) (#519)
This commit is contained in:
parent
cae5d296ca
commit
f3bc82311d
|
|
@ -122,6 +122,11 @@ class ArgumentForm extends window.HTMLElement {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
switch (arg.type) {
|
switch (arg.type) {
|
||||||
|
case 'html':
|
||||||
|
domEl = document.createElement('div')
|
||||||
|
domEl.innerHTML = arg.defaultValue
|
||||||
|
|
||||||
|
return domEl
|
||||||
case 'confirmation':
|
case 'confirmation':
|
||||||
this.domBtnStart.disabled = true
|
this.domBtnStart.disabled = true
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue