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
The first selection change (l2) works as expected however if we switch back to the l1 selection this error is triggered:
Python failed with the following traceback:
d:\python\python37-64\pyenv\py37\lib\site-packages\pyviz_comms-0.7.2-py3.7.egg\pyviz_comms\__init__.py _handle_msg L303
d:\pythonworkspace\modules\panel\panel\viewable.py _comm_change L692
d:\pythonworkspace\modules\panel\panel\viewable.py _change_event L716
d:\pythonworkspace\modules\panel\panel\viewable.py _process_events L706
d:\pythonworkspace\modules\panel\panel\widgets\select.py _process_property_change L109
d:\pythonworkspace\modules\panel\panel\util.py indexOf L67
ValueError: StaticText(value='<h1>1</h1>') not in list
This is related to the way updating on a reactive object is handled. Currently what happens is that it reuses the initially displayed object and simply updates it, so w1 is updated with the text from w2. This is obviously pretty problematic and we may well have to disable this optimization.
Hello:
I encouter a bug with this sample of code
The first selection change (l2) works as expected however if we switch back to the
l1
selection this error is triggered:A workaround is the following code:
The text was updated successfully, but these errors were encountered: