<div class="form-group" ng-if="$ctrl.input.field.options === true">
  <input disabled class="form-control loading" crm-ui-select="{data: []}">
</div>
<div class="form-group" ng-if="!$ctrl.isMulti() && $ctrl.input.field.options !== true">
  <input class="form-control" ng-model="$ctrl.value" ng-required="!$ctrl.input.field.nullable || $ctrl.input.field.required" crm-ui-select="{data: $ctrl.getFieldOptions, allowClear: $ctrl.input.field.nullable, placeholder: $ctrl.input.field.nullable ? ts('None') : ts('Selec