You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Windows 11
panel 1.2.2
ipywidgets 8.1.0
ipywidgets_bokeh 1.5.0
Microsoft Edge - Version 116.0.1938.62 (Official build) (64-bit)
ipywidgets work fine in basic components (simple_app) but not inside a template (app_screen). Also tried putting inside the main area and that doesn't work either.
import panel as pn
import ipywidgets as ipw
pn.extension("ipywidgets")
date = ipw.DatePicker(description="Date")
slider = ipw.FloatSlider(description="Float")
simple_app = pn.Column(
pn.pane.Markdown("### Enter Date"),
date,
pn.pane.Markdown("### Enter Number"),
slider,
)
simple_app.show()
app_screen = pn.template.BootstrapTemplate(
title="Test Template",
sidebar_width=350,
sidebar=[
pn.pane.Markdown("### Enter Date"),
date,
pn.pane.Markdown("### Enter Number"),
slider,
],
)
app_screen.main.append(pn.Column("## TBA"))
app_screen.show()
The simple app gives:
app_screen gives:
The text was updated successfully, but these errors were encountered:
I actually discovered that the Vanilla template works fine so its seems that only certain templates are affected. I haven't done a systematic check of all the templates.
Windows 11
panel 1.2.2
ipywidgets 8.1.0
ipywidgets_bokeh 1.5.0
Microsoft Edge - Version 116.0.1938.62 (Official build) (64-bit)
ipywidgets work fine in basic components (simple_app) but not inside a template (app_screen). Also tried putting inside the main area and that doesn't work either.
The simple app gives:
![image](https://private-user-images.githubusercontent.com/99048186/266417375-67962b9e-0751-4d01-a47e-b061d97f175c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk2ODg4OTAsIm5iZiI6MTcxOTY4ODU5MCwicGF0aCI6Ii85OTA0ODE4Ni8yNjY0MTczNzUtNjc5NjJiOWUtMDc1MS00ZDAxLWE0N2UtYjA2MWQ5N2YxNzVjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI5VDE5MTYzMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ2MTE2NmM1MzBhNGE0NzIxMmU4Njc4ZDBkMGUyODdhNjIzNjQ0ZjQxNTU2ZGZlNGZkNTY4MThhZGMwYzJlMDgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.S81dkhsPpXsZs1Wfbik-zyC8Di2_TvBc_QwqsraJEIw)
app_screen gives:
The text was updated successfully, but these errors were encountered: