UNPKG

@paperbits/forms

Version:
9 lines (8 loc) 399 B
<div class="form-group" data-bind="styled: styles"> <!-- ko if: label --> <label class="form-label" data-bind="text: label"></label> <!-- /ko --> <select class="form-control" data-bind="attr: { required: required, readonly: readonly, value: value }, foreach: options"> <option data-bind="attr: { value: value }"> <!--ko text: label--><!--/ko--></option> </select> </div>