<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 || 'Text'}}{{options.required ? '*' : ''}}
    </label>
    <div class="form-control" style="height: auto;" ng-class="{'ng-valid': (options.required && options.value),'ng-invalid':(options.required && !options.value)}">
        <textarea type="text"
                  ui-tinymce
                  toolbar-configuration="Webform"
                  toolbar-configuration-override="toolbarConfigurationOverride"
                  ui-tinymce-disable="{{(!options.properties.html)}}"
                  class="form-control"
                  id="{{id}}"
                  rows="{{options.lines}}"
                  placeholder="{{options.placeholder}}"
                  ng-required="options.required"
                  ng-disabled="options.disabled"
                  ng-model="options.value"></textarea>
    </div>
    <small class="form-text text-muted" ng-show="options.helpText">{{options.helpText}}</small>
</div>