Form-view empty after refreshing the page
ozcanxbreeze opened this issue · 2 comments
ozcanxbreeze commented
When you open a form-view and refresh the browser, the form-view will be empty.
That is because this line in the form-editor-widget.tsx never finishes.
await this.formEditorService.open(uri);
The formEditorService(form-server) or the model server has not been initalized.
willem-xbreeze commented
Probably this event is started too soon and needs to wait for the plugins to have started. Take care not to introduce a loop/deadlock
harmen-xb commented
I cannot reproduce this error anymore in the latest main. After refresh the form will render, sometimes with a small delay, but it consistently shows the contents.