|
|
|
@ -52,8 +52,16 @@ export class EntityTypeSelectComponent implements ControlValueAccessor, OnInit, |
|
|
|
@coerceBoolean() |
|
|
|
showLabel: boolean; |
|
|
|
|
|
|
|
private labelValue = this.translate.instant('entity.type'); |
|
|
|
|
|
|
|
get label(): string { |
|
|
|
return this.labelValue; |
|
|
|
} |
|
|
|
|
|
|
|
@Input() |
|
|
|
label = this.translate.instant('entity.type'); |
|
|
|
set label(value: string) { |
|
|
|
this.labelValue = value ?? this.translate.instant('entity.type'); |
|
|
|
} |
|
|
|
|
|
|
|
@Input() |
|
|
|
@coerceBoolean() |
|
|
|
|