Retain form data after submitting

Hi,

I’m using Forge UI Kit 2.

By trying out the Form (atlassian.com) example, after clicking the Submit button, the TextField value is cleared and the Checkbox is back to its defaultChecked value.

However, I want the form data to be retained after submitting.

So, how can I change so that a form submit doesn’t clear every component added to the Form, and keeps the actual inputted data?

Thanks!