angular icon indicating copy to clipboard operation
angular copied to clipboard

Wizard form lost data on previous page, if i provide submission init data

Open Miata74 opened this issue 9 years ago • 8 comments

I have problem with wizard form. On ng2 form i provide submission initialization data: <formio [form]="form" [submission]="submission"> and in angular 2 component i defined: private submission = { "data" : { "field1": "1234", "field2":"12345" }}

All fields are populated correctly with init values. Then I change the values on first page and go to next page. Then i click back and all values are populated with initial values not with last changed.

If i dont provide submisson init data then all works correctly.

Miata74 avatar Apr 19 '17 07:04 Miata74

Hi, I am facing the same issue even if I dont provide submission init data.

Naren120 avatar May 11 '17 13:05 Naren120

I have done a lot of work in the wizard feature. please try the latest and let me know if you have better luck.

travist avatar May 22 '17 18:05 travist

Hi travist, thanks for your work. I have update my version to latest and there are no longer lost of data problem but now there are another problem if I am providing submission data in edit case values are not putting in the text boxes in first attempt it is putting the values in second attempt.

please once look into this.

Thanks.

Naren120 avatar May 24 '17 04:05 Naren120

Please provide a <formio> example with the problem. Thanks.

travist avatar May 27 '17 02:05 travist

Hi @travist thanks for your response. I have created the repository for formio example on git and added you and I have created the video for this problem via jing you can check this as well. The repository url is :- https://[email protected]/Naren123/formioexample.git The link for video is :- https://www.screencast.com/t/7jHBXB6cDyDS Please let me know if any thing you need from my side. Note:- I am using the latest release for package 1.0.0-rc.19.

Thanks

Naren120 avatar May 30 '17 06:05 Naren120

Hi @travist, Any luck? Thanks.

Naren120 avatar Jun 01 '17 13:06 Naren120

Hi @travist please update me about this as I am getting other type of issue with latest release like cut the part of form while click on edit button etc. Thanks.

Naren120 avatar Jun 08 '17 12:06 Naren120

Closed due to no activity. If the issue is still relevant, please reopen

HannaKurban avatar Aug 31 '23 13:08 HannaKurban