Skip to content

RadioButton fires duplicate events on click #159

Open
@axil

Description

@axil
from jupyter_bokeh import BokehModel
from bokeh.models import RadioGroup

def update(event):
    print(event)

LABELS = ["Option 1", "Option 2", "Option 3"]

radio_group = RadioGroup(labels=LABELS, active=1)
radio_group.on_click(update)

BokehModel(radio_group)

After a click on "Option 3" it displays:

image

I would expect the event to be fired only once (in javascript it fires once).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions