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
I'm on panel==1.3.8. I'm trying to update a UI progressively using pn.rx for the basic tutorial. But I'm experiencing an issue with the UI not updating when setting a reactive value (pn.rx) to the empty string.
result.rx.value=""# This line does not update the UI
result.rx.value="Some Value"# This line does update the UI
When I click the button the second, third etc. time, I would expect the result string be reset to "" in the UI at the start of the classification. But it does not happen as you can see in the video below.
reset-not-working.mp4
Alternative Version
We can also set the result to "" at the end of the classification to make the issue more clear. Instead the intermediate result "Its a Solar Panel" or similar is shown!
I'm on panel==1.3.8. I'm trying to update a UI progressively using
pn.rx
for the basic tutorial. But I'm experiencing an issue with the UI not updating when setting a reactive value (pn.rx
) to the empty string.Reproducible Example
When I click the button the second, third etc. time, I would expect the
result
string be reset to""
in the UI at the start of the classification. But it does not happen as you can see in the video below.reset-not-working.mp4
Alternative Version
We can also set the result to
""
at the end of the classification to make the issue more clear. Instead the intermediate result "Its a Solar Panel" or similar is shown!not-working2.mp4
The text was updated successfully, but these errors were encountered: