Force a refresh after change property of a component
Hi Teachers,
I am writing to ask a question about force refreshing after change the property of a component.
Background:
There is a dialog window which belongs to a component contains a multi-field component. I try to add the collapse function in the task.

Problem:
In the task I create a new component and create js in the dialog-clientlib. After finishing the task all thing goes fine. But the page will refresh automatically and cannot be edited when I click "tick" at the right top corner. The AEM System Edit page will reload and become uneditable. Why does the things happen ?
However, all things will go normally after I refresh the page again.
Thank you.