How I can save nested Arrays and Autocomplete in a Stepform? #2044
-
I have the problem that if you add two new task areas and then press Next and go back again, they don't stand up anymore. It is the same with the Autocomplete. What can you do there? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
you should store your form submitted data in global state/store and then repopulate the form again. |
Beta Was this translation helpful? Give feedback.
-
This is my new code. I added a global state and set it as default. But unfortunately it still doesn't work. The state is being updated. Do you have a solution for this? |
Beta Was this translation helpful? Give feedback.
This is my new code. I added a global state and set it as default. But unfortunately it still doesn't work. The state is being updated. Do you have a solution for this?
https://codesandbox.io/s/array-problem-evt14