Skip to content

Commit

Permalink
Merge pull request #19 from ssciwr/anyof-observer
Browse files Browse the repository at this point in the history
Register observer on anyOf selector dropdown
  • Loading branch information
dokempf authored Feb 21, 2022
2 parents 4edda4a + 3d2b9dd commit 83acc39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ipywidgets_jsonschema/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from ipywidgets_jsonschema.form import Form

__version__ = "0.4.0"
__version__ = "0.4.1"
1 change: 1 addition & 0 deletions ipywidgets_jsonschema/form.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 83acc39

Please sign in to comment.