diff --git a/libs/ngxtension/form-events/src/form-events.ts b/libs/ngxtension/form-events/src/form-events.ts index f2941508..cd7b2c08 100644 --- a/libs/ngxtension/form-events/src/form-events.ts +++ b/libs/ngxtension/form-events/src/form-events.ts @@ -99,8 +99,8 @@ export function allEventsObservable( return defer(() => combineLatest([ valueEvents$(form).pipe( - startWith(form.value), - map((value) => (isValueEvent(value) ? value.value : value)), + startWith(form.getRawValue()), + map(() => form.getRawValue()), distinctUntilChanged( (previous, current) => JSON.stringify(previous) === JSON.stringify(current),