From 3d2b9ddb4826c9eada678fe345e11b4d501b4104 Mon Sep 17 00:00:00 2001 From: Dominic Kempf Date: Mon, 21 Feb 2022 16:31:39 +0100 Subject: [PATCH] Register observer on anyOf selector dropdown --- ipywidgets_jsonschema/__init__.py | 2 +- ipywidgets_jsonschema/form.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ipywidgets_jsonschema/__init__.py b/ipywidgets_jsonschema/__init__.py index 1b5dd37..fada25d 100644 --- a/ipywidgets_jsonschema/__init__.py +++ b/ipywidgets_jsonschema/__init__.py @@ -1,3 +1,3 @@ from ipywidgets_jsonschema.form import Form -__version__ = "0.4.0" +__version__ = "0.4.1" diff --git a/ipywidgets_jsonschema/form.py b/ipywidgets_jsonschema/form.py index f22a7fc..5a1416e 100644 --- a/ipywidgets_jsonschema/form.py +++ b/ipywidgets_jsonschema/form.py @@ -512,6 +512,7 @@ def _setter(_d): pass def _register_observer(h, n, t): + selector.observe(h, names=n, type=t) for e in elements: e.register_observer(h, n, t)