-
+
{{'PLAN-BLUEPRINT-EDITOR.FIELDS.CATEGORY' | translate}}
@@ -114,101 +114,97 @@
{{'GENERAL.VALIDATION.REQUIRED' | translate}}
- @switch(field.get('category').value){
- @case(planBlueprintSectionFieldCategory.System){
-
-
- {{'PLAN-BLUEPRINT-EDITOR.FIELDS.SYSTEM-FIELD-TYPE' | translate}}
-
- {{enumUtils.toPlanBlueprintSystemFieldTypeString(systemFieldType)}}
-
- {{field.get('systemFieldType').getError('backendError').message}}
- {{'GENERAL.VALIDATION.REQUIRED' | translate}}
-
-
- }
- @case(planBlueprintSectionFieldCategory.Extra){
-
-
- {{'PLAN-BLUEPRINT-EDITOR.FIELDS.DATA-TYPE' | translate}}
-
-
- {{enumUtils.toPlanBlueprintExtraFieldDataTypeString(extraFieldDataType)}}
-
-
- {{field.get('dataType').getError('backendError').message}}
- {{'GENERAL.VALIDATION.REQUIRED' | translate}}
-
-
- }
- @case(planBlueprintSectionFieldCategory.ReferenceType){
-
-
- {{'PLAN-BLUEPRINT-EDITOR.FIELDS.REFERENCE-TYPE' | translate}}
-
- {{field.get('referenceTypeId').getError('backendError').message}}
- {{'GENERAL.VALIDATION.REQUIRED' | translate}}
-
-
- }
- }
- @if(field.get('category').value != null){
-
-
- {{'PLAN-BLUEPRINT-EDITOR.FIELDS.FIELD-LABEL' | translate}}
-
- {{field.get('label').getError('backendError').message}}
- {{'GENERAL.VALIDATION.REQUIRED' | translate}}
-
-
-
-
- {{'PLAN-BLUEPRINT-EDITOR.FIELDS.FIELD-PLACEHOLDER' | translate}}
-
- {{field.get('placeholder').getError('backendError').message}}
- {{'GENERAL.VALIDATION.REQUIRED' | translate}}
-
-
-
-
- {{'PLAN-BLUEPRINT-EDITOR.FIELDS.FIELD-DESCRIPTION' | translate}}
-
- {{field.get('description').getError('backendError').message}}
- {{'GENERAL.VALIDATION.REQUIRED' | translate}}
-
-
-
-
- {{'PLAN-BLUEPRINT-EDITOR.FIELDS.SEMANTICS' | translate}}
-
-
- {{field.get('semantics').getError('backendError').message}}
- {{'GENERAL.VALIDATION.REQUIRED' | translate}}
-
-
-
- @if (isMandatorySystemField(field?.value)) {
-
- }
- @else {
-
{{'PLAN-BLUEPRINT-EDITOR.FIELDS.FIELD-REQUIRED' | translate}}
- }
-
{{field.get('required').getError('backendError').message}}
-
{{'GENERAL.VALIDATION.REQUIRED' | translate}}
-
- }
+ @switch(field.get('category').value){
+ @case(planBlueprintSectionFieldCategory.System){
+
+
+ {{'PLAN-BLUEPRINT-EDITOR.FIELDS.SYSTEM-FIELD-TYPE' | translate}}
+
+ {{enumUtils.toPlanBlueprintSystemFieldTypeString(systemFieldType)}}
+
+ {{field.get('systemFieldType').getError('backendError').message}}
+ {{'GENERAL.VALIDATION.REQUIRED' | translate}}
+
+
+ }
+ @case(planBlueprintSectionFieldCategory.Extra){
+
+
+ {{'PLAN-BLUEPRINT-EDITOR.FIELDS.DATA-TYPE' | translate}}
+
+
+ {{enumUtils.toPlanBlueprintExtraFieldDataTypeString(extraFieldDataType)}}
+
+
+ {{field.get('dataType').getError('backendError').message}}
+ {{'GENERAL.VALIDATION.REQUIRED' | translate}}
+
+
+ }
+ @case(planBlueprintSectionFieldCategory.ReferenceType){
+
+
+ {{'PLAN-BLUEPRINT-EDITOR.FIELDS.REFERENCE-TYPE' | translate}}
+
+ {{field.get('referenceTypeId').getError('backendError').message}}
+ {{'GENERAL.VALIDATION.REQUIRED' | translate}}
+
+
+ }
+ }
+ @if(field.get('category').value != null){
+
+
+ {{'PLAN-BLUEPRINT-EDITOR.FIELDS.FIELD-LABEL' | translate}}
+
+ {{field.get('label').getError('backendError').message}}
+ {{'GENERAL.VALIDATION.REQUIRED' | translate}}
+
+
+
+
+ {{'PLAN-BLUEPRINT-EDITOR.FIELDS.FIELD-PLACEHOLDER' | translate}}
+
+ {{field.get('placeholder').getError('backendError').message}}
+ {{'GENERAL.VALIDATION.REQUIRED' | translate}}
+
+
+
+
+ {{'PLAN-BLUEPRINT-EDITOR.FIELDS.FIELD-DESCRIPTION' | translate}}
+
+ {{field.get('description').getError('backendError').message}}
+ {{'GENERAL.VALIDATION.REQUIRED' | translate}}
+
+
+
+
+ {{'PLAN-BLUEPRINT-EDITOR.FIELDS.SEMANTICS' | translate}}
+
+
+ {{field.get('semantics').getError('backendError').message}}
+ {{'GENERAL.VALIDATION.REQUIRED' | translate}}
+
+
+
+ @if (isMandatorySystemField(field?.value)) {
+
+ }
+ @else {
+
{{'PLAN-BLUEPRINT-EDITOR.FIELDS.FIELD-REQUIRED' | translate}}
+ }
+
{{field.get('required').getError('backendError').message}}
+
{{'GENERAL.VALIDATION.REQUIRED' | translate}}
+
+ }
- @if(field.get('category').value === planBlueprintSectionFieldCategory.ReferenceType){
-
- {{'PLAN-BLUEPRINT-EDITOR.FIELDS.FIELD-MULTIPLE-SELECT' | translate}}
- {{field.get('multipleSelect')?.getError('backendError').message}}
- {{'GENERAL.VALIDATION.REQUIRED' | translate}}
-
- }
+ @if(field.get('category').value === planBlueprintSectionFieldCategory.ReferenceType){
+
+ {{'PLAN-BLUEPRINT-EDITOR.FIELDS.FIELD-MULTIPLE-SELECT' | translate}}
+ {{field.get('multipleSelect')?.getError('backendError').message}}
+ {{'GENERAL.VALIDATION.REQUIRED' | translate}}
+
+ }