{{'REFERENCE-EDITOR.NEW' | translate}}

{{'REFERENCE-EDITOR.NEW' | translate}}
{{'REFERENCE-EDITOR.FIELDS.LABEL' | translate}} {{formGroup.get('label').getError('backendError').message}} {{'GENERAL.VALIDATION.REQUIRED' | translate}}
{{'REFERENCE-EDITOR.FIELDS.REFERENCE' | translate}} {{formGroup.get('reference').getError('backendError').message}} {{'GENERAL.VALIDATION.REQUIRED' | translate}}
{{'REFERENCE-EDITOR.FIELDS.TYPE' | translate}} {{formGroup.get('type').getError('backendError').message}} {{'GENERAL.VALIDATION.REQUIRED' | translate}}
{{'REFERENCE-EDITOR.FIELDS.SOURCE' | translate}} {{formGroup.get('source').getError('backendError').message}} {{'GENERAL.VALIDATION.REQUIRED' | translate}}
{{'REFERENCE-EDITOR.FIELDS.SOURCE-TYPE' | translate}} {{enumUtils.toReferenceSourceTypeString(sourceType)}} {{formGroup.get('sourceType').getError('backendError').message}} {{'GENERAL.VALIDATION.REQUIRED' | translate}}
{{'REFERENCE-EDITOR.FIELDS.ABBREVIATION' | translate}} {{formGroup.get('abbreviation').getError('backendError').message}} {{'GENERAL.VALIDATION.REQUIRED' | translate}}
{{formGroup.get('description').getError('backendError').message}} {{'GENERAL.VALIDATION.REQUIRED'| translate}}

{{'REFERENCE-EDITOR.FIELDS.FIELDS' | translate}}

{{fieldIndex + 1}}
{{'REFERENCE-EDITOR.FIELDS.CODE' | translate}} {{field.get('code').getError('backendError').message}} {{'GENERAL.VALIDATION.REQUIRED' | translate}}
{{'REFERENCE-EDITOR.FIELDS.DATA-TYPE' | translate}} {{enumUtils.toReferenceFieldDataTypeString(dataType)}} {{field.get('dataType').getError('backendError').message}} {{'GENERAL.VALIDATION.REQUIRED' | translate}}
{{'REFERENCE-EDITOR.FIELDS.VALUE' | translate}} {{field.get('value').getError('backendError').message}} {{'GENERAL.VALIDATION.REQUIRED' | translate}}