JavaScriptComponent can't be injected in Widget

Hi,

I using the JavaScriptComponent in a widget, but the component can’t be injected.

image
image

The baiduMap filed is null, in a normal screen the JavaScriptComponent can be injected.

Hi @lugreen,

Please provide a sample project where this issue can be replicated. We will investigate this issue.

Regards,
Evgeny

Hi Evgeny,

Very sorry for wasting your time , i made a mistake, wrote a incorrect controller for a widget.