holoviz / panel

Panel: The powerful data exploration & web app framework for Python
https://panel.holoviz.org
BSD 3-Clause "New" or "Revised" License
4.77k stars 519 forks source link

No longer possible to name a None value in Select #6573

Open hoxbro opened 7 months ago

hoxbro commented 7 months ago
select = pn.widgets.Select(
    value=None,
    options={s or "All": s for s in [None, "A", "B"]},  # This will make All work as None. 
)
select

In Panel 1.4: image

In Panel 1.3.8. image

An alternative to this is using False, but in my head the None is used as not set value and in my case means all is chosen.

philippjfr commented 7 months ago

Probably a change in bokeh?

hoxbro commented 7 months ago

Likely https://github.com/bokeh/bokeh/pull/13497