|
|
|
@ -26,7 +26,7 @@ |
|
|
|
<div class="mt-2" [ngStyle]="feature.style" (keyup.enter)="save()"> |
|
|
|
@switch (feature.valueType?.name) { |
|
|
|
@case (valueTypes.ToggleStringValueType) { |
|
|
|
<div class="form-check"> |
|
|
|
<div class="form-check" [class.px-4]="!!feature.parentName"> |
|
|
|
<input |
|
|
|
class="form-check-input" |
|
|
|
type="checkbox" |
|
|
|
@ -47,7 +47,7 @@ |
|
|
|
</div> |
|
|
|
} |
|
|
|
@case (valueTypes.FreeTextStringValueType) { |
|
|
|
<div class="mb-3 form-group"> |
|
|
|
<div class="mb-3 form-group" [class.px-2]="!!feature.parentName"> |
|
|
|
<label [htmlFor]="feature.name" class="form-label">{{ |
|
|
|
feature.displayName |
|
|
|
}}</label> |
|
|
|
@ -69,7 +69,7 @@ |
|
|
|
} |
|
|
|
@case (valueTypes.SelectionStringValueType) { |
|
|
|
@if (feature.valueType.itemSource?.items?.length) { |
|
|
|
<div class="mb-3 form-group"> |
|
|
|
<div class="mb-3 form-group" [class.px-2]="!!feature.parentName"> |
|
|
|
<label [htmlFor]="feature.name" class="form-label">{{ |
|
|
|
feature.displayName |
|
|
|
}}</label> |
|
|
|
|