aurelia-orm
Version:
Makes working with entities and calling your Rest API simple.
7 lines (6 loc) • 501 B
HTML
<template>
<select name.bind="name" class="form-control" value.bind="value" multiple.bind="multiple" disabled.bind="disabled">
<option selected disabled.bind="!hidePlaceholder && !selectablePlaceholder" model.bind="placeholderValue" show.bind="!hidePlaceholder" t="[html]${placeholderText || '- Select a value -'}">${placeholderText || '- Select a value -'}</option>
<option model.bind="option[identifier]" repeat.for="option of options">${option[property]}</option>
</select>
</template>