Discussions

Ask a Question
Back to All

Widget reload after onSave()

Hey, I'm struggling to understand under which conditions the widget is been reload after clicking the "Save" button inside my widget's custom config view.

I usually call "done(true)" as indication that the changes has been stored on my plugin server side but the widget is not been reload. Sometimes is reload after "Saving" in COYO layout editor. Most of the time I need to reload the page where the widget is embedded to see the updated widget.

My expectation is that the widget should reload as soon as I call onSave()'s "done(true)". Is my expectation wrong or am I doing something wrong?

BR, Lars.