maxfordham/ipyautoui

๐Ÿ› Revert not working

Opened this issue ยท 1 comments

Describe the bug
Pressing revert does not revert the values correctly.

To Reproduce
Made a change to the slider within a nested object:

Slider is set to 2:
image

Change to 1:
image

Revert but stays at 1:
image

Expected behavior
Expect that by pressing revert, the values will change back to how they were.

I think is because no callable is ever passed to the trait fns_on_revert of WrapSaveButtonBar. Maybe we should pass a default function that performs the revert?