<div class="form-group">
    <label style="float: right;"
           ng-if="editmode === 'true'" 
           class="formlyEditDelete">
        <a ng-click="$parent.$parent.edit(options)">
            {{"Edit" | translate}}
        </a> |
        <a ng-click="$parent.$parent.deleteField(options)">
            {{"Delete" | translate}}
        </a>
    </label>
    <label for="{{id}}">
        {{options.label || 'Users'}}{{options.required ? '*' : ''}}
    </label>
    
    <span wizdom365-principalpicker
          id="{{id}}"
          principals="value"
          mode="{{(options.properties.mode)}}"
          allowmultiple="{{(options.properties.allowmultiple)}}"
          ng-required="options.required || false"
          ng-disabled="options.disabled"
          placeholder="{{options.placeholder}}">
    </span>
</div>