maxfordham / ipyautoui

create ipywidgets user input form pydantic model or jsonschema
https://maxfordham.github.io/ipyautoui/
42 stars 4 forks source link

🐛 AutoObjectForm fns_onsave bug #235

Open ollyhensby opened 10 months ago

ollyhensby commented 10 months ago

Describe the bug Setting AutoObjectForm.fns_onsave doesn't use the passed functions when saving. However, AutoObjectForm.savebuttonbar.fns_onsave works successfully.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior Do we need AutoObjectForm.fns_onsave to exist or shall we just set through savebuttonbar?