Fix #478 - Add trigger status to currency logic

This commit is contained in:
Jack Anderson 2024-09-18 08:50:56 +01:00 committed by y.yerli
parent 39881bceb6
commit 7e73cdddcb
3 changed files with 10 additions and 0 deletions

View file

@ -82,4 +82,8 @@ export class UpdateBaseCurrencyAction extends FieldLogicActionHandler {
// re-validate the parent form-control after value update
record.formGroup.updateValueAndValidity({onlySelf: true, emitEvent: true});
}
getTriggeringStatus(): string[] {
return ['onAnyLogic'];
}
}

View file

@ -86,4 +86,8 @@ export class UpdateCurrencyAction extends FieldLogicActionHandler {
// re-validate the parent form-control after value update
record.formGroup.updateValueAndValidity({onlySelf: true, emitEvent: true});
}
getTriggeringStatus(): string[] {
return ['onAnyLogic'];
}
}