From 3b580a38690d72a5b7e9fcaeab5151950a004b0b Mon Sep 17 00:00:00 2001 From: Rebecca Sutton Koeser Date: Wed, 25 Oct 2023 02:47:35 -0400 Subject: [PATCH] fix: Configure change handler for checkbox input (#1844) --- mesa/experimental/jupyter_viz.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mesa/experimental/jupyter_viz.py b/mesa/experimental/jupyter_viz.py index 3408ba11c6a..de207bf2926 100644 --- a/mesa/experimental/jupyter_viz.py +++ b/mesa/experimental/jupyter_viz.py @@ -228,6 +228,7 @@ def change_handler(value, name=name): elif input_type == "Checkbox": solara.Checkbox( label=label, + on_value=change_handler, value=options.get("value"), ) else: