<select {{action 'change' on='change'}} class="form-control {{mainComponent.elementClass}}" id={{mainComponent.id}}>
{{#if mainComponent.prompt}}
  <option value="null" selected={{eq null selectedValue}}>
    {{mainComponent.prompt}}
  </option>
{{/if}}
{{#each (get mainComponent "content") key="@index" as |item|}}
  <option value="{{get item mainComponent.optionValuePath}}" selected={{eq (get item mainComponent.optionValuePath) selectedValue}}>
    {{get item mainComponent.optionLabelPath}}
  </option>
  {{/each}}
</select>

<select {{action 'change' on='change'}} class="form-control {{mainComponent.elementClass}}" id={{mainComponent.id}} required=mainComponent.required>
{{#if mainComponent.prompt}}
  <option value="" selected={{eq "" selectedValue}}>
    {{mainComponent.prompt}}
  </option>
{{/if}}
{{#each (get mainComponent "content") key="@index" as |item|}}
  <option value="{{get item mainComponent.optionValuePath}}" selected={{eq (get item mainComponent.optionValuePath) selectedValue}}>
    {{get item mainComponent.optionLabelPath}}
  </option>
  {{/each}}
</select>

Enable HTML5 required validation on em-selects
Enable HTML5 required validation on em-selects
