Skip to content
Discussion options

You must be logged in to vote

also tried the example-4 from @akosyakov and got the same warning.

As suggested above, you have to handle the activation manually. The following will fix the widget activation in the example:

diff --git a/theia-training/src/browser/jsonschema-form-widget.tsx b/theia-training/src/browser/jsonschema-form-widget.tsx
index 74b7ca1..2e15614 100644
--- a/theia-training/src/browser/jsonschema-form-widget.tsx
+++ b/theia-training/src/browser/jsonschema-form-widget.tsx
@@ -56,5 +56,11 @@ export class JsonschemaFormWidget extends BaseWidget {
         ReactDOM.render(model ? <JsonschemaFormView model={model} modelService={this.modelService} /> : null!, this.viewNode);
     }
 
+    protected onAc…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@bforget163
Comment options

Answer selected by bforget163
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #8417 on August 24, 2020 07:22.