|
|
@ -50,6 +50,7 @@ export abstract class EntityComponent<T extends BaseData<HasId>, |
|
|
@Input() |
|
|
@Input() |
|
|
set isEdit(isEdit: boolean) { |
|
|
set isEdit(isEdit: boolean) { |
|
|
this.isEditValue = isEdit; |
|
|
this.isEditValue = isEdit; |
|
|
|
|
|
this.cd.markForCheck(); |
|
|
this.updateFormState(); |
|
|
this.updateFormState(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@ -107,7 +108,6 @@ export abstract class EntityComponent<T extends BaseData<HasId>, |
|
|
} else { |
|
|
} else { |
|
|
this.entityForm.disable({emitEvent: false}); |
|
|
this.entityForm.disable({emitEvent: false}); |
|
|
} |
|
|
} |
|
|
this.cd.markForCheck(); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|