panel
panel copied to clipboard
programatically changing name of select widget does not update widget in 1.4.0
ALL software version info
panel 1.4.0 bokeh 3.4.0
I just upgraded one of my environments to 1.4.0 today (which has some really great stuff, thanks!!) and I'm seeing some odd behavior now. When using panel 1.3.8 if I updated the name of a select the widget on my screen instantly refreshed with the new name, but in 1.4.0 when I update the name property of the widget it is no longer showing the new name on the select widget. Also, this doesn't appear to be related to the notebook (I noticed it in a normal browser environment to begin with, but it shows up in VS code and jupyterlab as well)
Complete, minimal, self-contained example code that reproduces the issue
import panel as pn
pn.extension()
pn.__version__
s_widget = pn.widgets.Select(name='Study', options=['Biology', 'Chemistry', 'Physics'])
s_widget
s_widget.name = "updatedname"
Screenshots or screencasts of the bug in action
- [ ] I may be interested in making a pull request to address this
@mattpap probably a Bokeh regression?
It's InputWidget.title in bokeh and its change handler regressed in bokeh 3.4.
Would be nice to fix for bokeh 3.4.1