diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a48fdfb..3f716cdb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # @formio/angular +## 11.0.6 + +### Patch Changes + +- 56a7b52: FIO-11987 added an update to the state when submitting the form via FVP + +## 11.0.6-api910.0 + +### Patch Changes + +- 56a7b52: FIO-11987 added an update to the state when submitting the form via FVP + ## 11.0.5 ### Patch Changes diff --git a/package.json b/package.json index cbcf8d37..c49a89ec 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@formio/angular", - "version": "11.0.5", + "version": "11.0.6", "scripts": { "ng": "ng", "sync": "node scripts/sync.js", @@ -47,9 +47,9 @@ "@angular/platform-browser-dynamic": "catalog:angular21", "@angular/router": "catalog:angular21", "@compodoc/compodoc": "1.1.25", - "@formio/core": "^2.7.1", + "@formio/core": "^2.8.3", "@formio/deprecated-types": "^0.1.0", - "@formio/js": "^5.4.2", + "@formio/js": "^5.6.0", "@types/jasmine": "^5.1.4", "@types/jasminewd2": "^2.0.13", "@types/node": "^22.10.5", diff --git a/projects/angular-formio/package.json b/projects/angular-formio/package.json index d289d3a6..8616846c 100644 --- a/projects/angular-formio/package.json +++ b/projects/angular-formio/package.json @@ -1,6 +1,6 @@ { "name": "@formio/angular", - "version": "11.0.5", + "version": "11.0.6", "repository": { "type": "git", "url": "https://github.com/formio/angular-formio" diff --git a/projects/angular-formio/resource/src/create/create.component.ts b/projects/angular-formio/resource/src/create/create.component.ts index 5cf2faba..aa29ffbe 100644 --- a/projects/angular-formio/resource/src/create/create.component.ts +++ b/projects/angular-formio/resource/src/create/create.component.ts @@ -1,10 +1,4 @@ -import { - ChangeDetectorRef, - Component, - EventEmitter, - inject, - OnInit, -} from '@angular/core'; +import { ChangeDetectorRef, Component, EventEmitter, inject, OnInit } from '@angular/core'; import { Router, ActivatedRoute, RouterLink } from '@angular/router'; import { FormioResourceService } from '../resource.service'; import { FormioResourceConfig } from '../resource.config'; diff --git a/projects/angular-formio/resource/src/edit/edit.component.ts b/projects/angular-formio/resource/src/edit/edit.component.ts index 3dc35d6c..747c8f83 100644 --- a/projects/angular-formio/resource/src/edit/edit.component.ts +++ b/projects/angular-formio/resource/src/edit/edit.component.ts @@ -23,6 +23,7 @@ export class FormioResourceEditComponent implements OnDestroy { onSubmit(submission: any) { const edit = this.service.resource; edit.data = submission.data; + edit.state = submission.state || edit.state; this.service .save(edit) .then(() => { diff --git a/projects/angular-formio/src/FormioBaseComponent.ts b/projects/angular-formio/src/FormioBaseComponent.ts index 068f7b88..9a013a79 100644 --- a/projects/angular-formio/src/FormioBaseComponent.ts +++ b/projects/angular-formio/src/FormioBaseComponent.ts @@ -11,7 +11,7 @@ import { Optional, Output, ViewChild, - ChangeDetectorRef + ChangeDetectorRef, } from '@angular/core'; import { FormioService } from './formio.service'; import { FormioAlerts } from './components/alerts/formio.alerts'; diff --git a/projects/angular-formio/src/components/formio/formio.component.ts b/projects/angular-formio/src/components/formio/formio.component.ts index d13b7bf9..20f5c0fc 100644 --- a/projects/angular-formio/src/components/formio/formio.component.ts +++ b/projects/angular-formio/src/components/formio/formio.component.ts @@ -5,7 +5,7 @@ import { ViewEncapsulation, Input, NgZone, - OnChanges + OnChanges, } from '@angular/core'; import { FormioAppConfig } from '../../formio.config'; import { Formio, Form } from '@formio/js';