Added label type ingredient

This commit is contained in:
VirtualColossus 2019-11-27 12:49:35 +00:00
parent dfc8f517f2
commit 32625dc0b0
1 changed files with 10 additions and 0 deletions

View File

@ -293,6 +293,16 @@ class HTMLIngredient {
this.manager.addDynamicListener(".arg-selector", "change", this.argSelectorChange, this);
break;
case "label":
html += `<div class="form-group">
<label>${this.name}</label>
<input type="hidden"
class="form-control arg"
id="${this.id}"
arg-name="${this.name}"
value="">
</div>`;
break;
default:
break;
}