Widgets showing as text in JupyterLab 4.x

Interesting. I see the same “Intslider(value=0)” output when showing the widget from the kernel-output example. But when showing it directly in the jupyterlab notebook, it is rendered correctly. Also with the sidebar extension instead of the kernel-output example, it is rendered correctly.

Same jupyterlab 4.5.6.

See Ipywidget in kernel-output extension doesn't work