Added code argtype

This commit is contained in:
Matt 2019-01-08 22:23:14 +00:00
parent 13439e100e
commit df8abb099c
No known key found for this signature in database
GPG key ID: 2DD462FE98BF38C2
3 changed files with 48 additions and 38 deletions

View file

@ -42,6 +42,16 @@ class HTMLIngredient {
i, m;
switch (this.type) {
case "code":
html+= `<div class="form-group">
<label for="${this.id}" class="bmd-label-floating">${this.name}</label>
<textarea class="form-control arg"
id="${this.id}"
arg-name="${this.name}"
value="${this.value}"
${this.disabled ? "disabled" : ""}></textarea>
${this.hint ? "<span class='bmd-help'>" + this.hint + "</span>" : ""}`;
break;
case "string":
case "binaryString":
case "byteArray":