Skip to content

Releases: erqk/ng-dynamic-json-form

v9.0.10

12 Aug 03:31

Choose a tag to compare

9.0.10 (2025-08-12)

Commit Type Description
441b306 fix Control validation errors is undefined when receive no user interaction.

9.0.9 (2025-08-11)

Commit Type Description
ced1c9d fix hideErrorMessage should be an input.

9.0.8 (2025-08-11)

Commit Type Description
788a9a4 fix ValidationErrors not showing properly on user input.

9.0.7 (2025-08-06)

Commit Type Description
0dd35fc fix Attributes are not set to HTMLElement.

9.0.6 (2025-08-06)

Commit Type Description
5349b93 fix Slow performance issue if many NgDynamicJsonFormComponent instances in the same page.

v9.0.5

05 Aug 07:33

Choose a tag to compare

9.0.5 (2025-08-05)

Commit Type Description
72a6dc6 fix Propagates initial errors to the CustomControlComponent.
32d9cf5 refactor Use custom track in the template directly.
f48f85e feat Allow execute conditions directly.
0b4d7f8 fix Form UI is incorrect on init.

9.0.4 (2025-08-04)

Commit Type Description
95f19db fix Infinite effect loop.
e17ef24 fix Value to write is incorrect when autoSelectFirst is true.

9.0.3 (2025-08-03)

Commit Type Description
0a46b80 fix OptionDataService: getOptionsByFilter$ should fire finalizeCallback() on error.

9.0.2 (2025-08-03)

Commit Type Description
c899f63 fix For custom observable, use tap() with next and error instead of finalize(), to take account of hot observable.

9.0.1 (2025-08-03)

Commit Type Description
85e9bc3 fix optionsLoaded should emit regardless the existence of pending options.

9.0.0 (2025-08-01)

  • Update to support Angular 20
  • Use signal to replace all the usage of @Input, @Output, ngOnChanges

Fix

  • For control with options, its value should not be overridden after the options is loaded.

BREAKING CHANGES

CustomControlComponent

  • The properties are now using signal.

    hostForm = signal<UntypedFormGroup | undefined>(undefined);
    data = signal<FormControlConfig | undefined>(undefined);
    hideErrorMessage = signal<boolean | undefined>(undefined);
  • registerOnChange is doing nothing at default. It should not trigger event every time after the valueChanges to prevent the CVA becomes dirty unintentionally.

    // before
    registerOnChange(fn: any): void {
      this.control?.valueChanges.subscribe(fn);
    }
    
    // after
    registerOnChange(fn: any): void {}

v8.7.0

14 Feb 06:46
131bfe1

Choose a tag to compare

8.7.0 (2025-02-14)

Commit Type Description
f18d93a feat Add support for async validators.
b1b924e fix Error message not showing when only async validators is in the config.

Full Changelog: v8.5.10...v8.7.0

v8.5.10

22 Nov 11:52
ec719ca

Choose a tag to compare

8.5.10 (2024-11-22)

Commit Type Description
df18456 fix Control directive should also keep pristine.

v8.5.9

15 Nov 08:38
762f34d

Choose a tag to compare

8.5.9 (2024-11-15)

Commit Type Description
78f28a0 fix optionsLoaded event should always emit after formGet.
f78fb21 fix Form status keep going to pristine after updateStatusFunctions.setPristine() is called.

8.5.8 (2024-11-06)

Commit Type Description
479fca3 fix Check if it is an array.
995f994 fix Check if it is an array.
c398d25 fix Form info now supports toggle of FormGroup and CVA.
479fca3 fix Bind properties after the view is initialized.
995f994 fix Incorrect initial value of the CVA.

8.5.7 (2024-11-06)

Commit Type Description
0f4c858 fix Maximum call stack exceeded.

8.5.6 (2024-11-06)

Commit Type Description
8489b0c fix Emit form after listeners are setup.

8.5.5 (2024-11-06)

Commit Type Description
db46e58 fix Form errors must be set before emitting the value.
1819d32 fix Reset form after config changes.

8.5.4 (2024-11-06)

Commit Type Description
4c9dcdb fix Toggle visibility before disable/enable control.
fda07e0 fix Assign properties either on the component itself or the host only.

8.5.3 (2024-10-14)

Commit Type Description
c88a982 fix Control's value should be updated simultaneously.

8.5.2 (2024-10-14)

Commit Type Description
65610b6 fix Input value is incorrect just after composing=false.

8.5.1 (2024-10-14)

Commit Type Description
7927bd3 fix Default value of checkbox.

v8.5.0

14 Oct 06:34
9d58822

Choose a tag to compare

8.5.0 (2024-10-14)

Commit Type Description
aee0865 feat Add onChange event emitter.

v8.4.8

27 Sep 10:06
821dd82

Choose a tag to compare

8.4.8 (2024-09-27)

Commit Type Description
d0b36b0 feat Add EventEmitter to facilitate the status change.
d0b36b0 refactor Re-implementation of registerOnChange().
d0b36b0 breaking change Remove the userInteracted variable.

8.4.7 (2024-09-27)

Commit Type Description
98beed7 fix Revert using userInteracted to prevent onChange() callback.

v8.4.6

26 Sep 11:26
a325519

Choose a tag to compare

8.4.6 (2024-09-26)

Commit Type Description
aee026a fix Nullable check.

8.4.5 (2024-09-26)

Commit Type Description
7f6f030 fix FormGroupComponent: Check for undefined control.

8.4.4 (2024-09-26)

Commit Type Description
7ccd6c2 feat CustomControlComponent: Enable set to pristine state.

v8.4.3

25 Sep 10:11
a27019f

Choose a tag to compare

8.4.3 (2024-09-25)

Commit Type Description
bc6ed14 fix Should call onChange() if control is dirty.

8.4.2 (2024-09-25)

Commit Type Description
650215c fix Control dirty and touched status should sync with parent control.

8.4.1 (2024-09-25)

Commit Type Description
8f87ee5 fix Calling onChange() only if user interacted.

v8.4.0

23 Sep 10:21
05c6a4f

Choose a tag to compare

8.4.0 (2024-09-23)

Commit Type Description
129166c feat Add host form access to custom component and custom template.