You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Disabled: Apply the markDirty for disabled in the same side effect so it delays for the init phase. (6586dcf)
Disabled: Disabled must emit in fallback option (01630e6)
Disabled: Mark form as dirty when disabling to ensure the disabled view is propagated with OnPush strategy (7d60d42)
FormArray validation: Ensure FormArray level validator errors are propagated to the parent subform (dd08be9)
lib:Cannot read property 'nodeIndex' of null thrown when component is being marked as dirty (with markDirty before the view is initialised (819ac0f)
rewrite: custom change detection with OnPush (21c61e3)
Root form emission: Fix mistaken missed negation in previous refactor. Refactor to make the clever one liner actually readable so this kind of mistake can't happen again (9162538)
Root form emission: It is required to double check validation of forms during sub form population phase (0bef549)
Update: prevent events emitting when data is populated, and when forms are (en|dis)abled (1fbfd4a)
Validation: Fix validation errors not propagating immediately (300800b)
Value emission: Fix invalid values being published that were valid in the previous tick (d60b29b)
add ngx-observable-lifecycle to package dependencies (738b36b)
do not use angular internal function markDirty as it may not been useful yet and causes issues (908e4b7)
expose shared utils/types through ngx-sub-form/new path so that we can import only from that one when migrating (a348cd4)
move ngx-observable-lifecycle and fast-deep-equal to peer deps (04339c6)
relax isRemap check as we can implement fromFormGroup and/or toFormGroup on a non remap component (it's optional but possible) (048996e)
Update to patched version of ngx-observable-lifecycle (5fc0fff)
use startWith on the writeValue$ hook otherwise root form component which are not bind to their input will never be able to emit updates (20b5dea)
Features
ControlValue: Add exported controlValue$ so components can easily observer the current value of the component (341dbef)
Disabled: Permit root forms to omit the disabled option, defaulting to an empty observable which will not disable the form (78ef09a)
Form Arrays: Add typesafety to form array option type (b53c955)
Output control: Add option to provide custom predicate for controlling the output filter (7883191)
Rewrite: @NgxSubForm() decorator is no longer needed and is not exported (1400b9e)
Rewrite: Move new strategy to top level api, mark old strategy classes as deprecated (a34e01b)
Touched: Add ability for sub form components to mark sub control as touched with an observable (6695f79)
expose partial remap options when the form is not a remap form so that we can override some defaults (871a5e3)