Comments (4)
Dropdown
provides access to actions via a menu (or a default action and a set of actions in the split dropdown case), but it doesn't store any state. For a stateful widget there's Select
. I suppose we could add support for checked items and groups, which I have to do in other contexts anyway.
from bokeh.
I just realized this wasn't about the Select
widget. @m3lab-zzl I think a Select
is what you want instead:
https://docs.bokeh.org/en/latest/docs/user_guide/interaction/widgets.html#select
I agree with @mattpap that dropdowns are stateless button/menu for initiating an immediate action, and note this is consistent with other sources e.g. bootstrap or w3schools
I think this issue can be closed with noaction
from bokeh.
A visual indicator seems reasonable. Any thoughts @mattpap ?
from bokeh.
Many thanks. I did not check all the widgets and did not know there was a Select. Now I will use Select instead.
from bokeh.
Related Issues (20)
- Add IndexedStackColorMapper for ImageStack glyph
- [BUG] `bokeh.plotting.figure.circle` does not display circles in bokeh 3.4.1 HOT 6
- Release build fails after PR #13901 HOT 2
- [BUG] ColumnDataSource serialization failed for `int` Masked array with `ValueError` / `TypeError` HOT 2
- [FEATURE] triangle relative size by data units HOT 1
- [BUG] Figure not displaying in Dash app (sad smiley) when width >= 20000 HOT 1
- Tests/CI fail due to a regression in requests 2.32.0
- [BUG] Dialog and Datatable don't get along well HOT 4
- [BUG] Databable cannot be put in Dialog HOT 2
- [BUG] Bokeh 3.5 no longer allow custom properties for HTMLAttr HOT 1
- [FEATURE] Attach ScaleBar to subplot range
- `Tooltip.content` doesn't rebuild views on change
- UI gesture detection fails in interactive tests in FireFox HOT 1
- [BUG] When I want to insert a picture into the bokeh icon and save it as an HTML file, I get a white screen when I open it. Why? HOT 5
- [BUG] DataTable update fails when selected indices don't exist in new data
- Explore using `pytest-mypy-plugin` for type-related tests
- `Model.js_on_change` needs better validation of inputs
- Investigate using `Object.preventExtensions()` on model instances HOT 1
- [FEATURE] Allow extensions to register server side events
- `AjaxDataSource.if_modified` not implemented
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bokeh.