☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Add 'copy to clipboard' to multichoice widget

Community Supportcustomjsbokehjsbokeh
Bryan
Bryan

@Sandeep_Reddy You’ll need to add a CustomJS callback for the button click (lots of examples in the docs and repo) that use the standard JS APIs to write whatever it is you want to write to the clipboard.

⌁   Link to post
Sandeep_Reddy
Sandeep_Reddy

Cool, got it.

Additionally, in multichoice it initially shows all the options in the dropdown. But once you type something, lets say ‘A’, it only shows 4 words that start with an ‘A’. How to make it show all the words that start with an ‘A’ in the dropdown?

⌁   Link to post
Bryan
Bryan

I don’t think there is any way to do that. The “intermediate” value that drives the search before an actual selection is registered is not exposed in the API as far as I know.

⌁   Link to post

End of archived discussion · Replies are disabled