{{<select}}
<select value:bind="value" class="form-select form-control" name="{{name}}"  {{attributes}}>
    <option value="">{{#if(optionsPromise.isPending)}}Loading...{{else}}{{defaultLabel}}{{/if}}</option>
    {{#for(option of options)}}
        <option value="{{option.value}}">{{option.label}}</option>
    {{/for}}
</select>
{{/select}}


<div class="form-group {{#if(error)}}has-error{{/if}}">
    {{#if(inline)}}
        {{#if(alias)}}
        <div class="col-4 col-sm-12">
            <label class="form-label" for="{{name}}">{{alias}}</label>
        </div>
        {{/if}}
        <div class="{{#if(alias)}}col-8{{else}}col-12{{/if}} col-sm-12">
            {{>select}}
        </div>
    {{else}}
        {{#if(alias)}}<label class="form-label" for="{{name}}">{{alias}}</label>{{/if}}
        {{>select}}
    {{/if}}
    {{#if(error)}}<span class="form-input-hint">{{error}}</span>{{/if}}
</div>
