Skip to content

Commit

Permalink
Merge pull request #158 from erqk/v8
Browse files Browse the repository at this point in the history
V8
  • Loading branch information
erqk authored Nov 22, 2024
2 parents 762f34d + 16e210c commit ec719ca
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# 8.5.10 (2024-11-22)

[df18456]: https://github.com/erqk/ng-dynamic-json-form/commit/df184563cd7880c5ab5acc3a95916285ac5c4ed3

| Commit | Type | Description |
| --------- | ---- | -------------------------------------------- |
| [df18456] | fix | Control directive should also keep pristine. |

# 8.5.9 (2024-11-15)

[78f28a0]: https://github.com/erqk/ng-dynamic-json-form/commit/78f28a0942c70398349645bf3aa394ba2afa393b
Expand Down
1 change: 1 addition & 0 deletions lib/core/ng-dynamic-json-form.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,7 @@ export class NgDynamicJsonFormComponent
const keepFormPristine = () => {
if (this._allowFormDirty) return;
this._updateFormStatus('setPristine');
this._controlDirective?.control.markAsPristine();
};

// `setErrors()` must be called before `updateValue()`,
Expand Down
2 changes: 1 addition & 1 deletion lib/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ng-dynamic-json-form",
"version": "8.5.9",
"version": "8.5.10",
"author": {
"name": "erqk",
"url": "https://github.com/erqk"
Expand Down

0 comments on commit ec719ca

Please sign in to comment.