jbockle / au-jsonschema-form

Create functional UI forms using json schema
https://aujsf.jbockle.dev
MIT License
8 stars 0 forks source link

Update Definitions in Delete to fix removal of second to last element… #48

Closed speakerender closed 2 years ago

speakerender commented 2 years ago

Update definitions during delete to avoid bug in updateDefinitions that deletes second to last element in array.

ghost commented 2 years ago

CodeSee Review Map:

Review these changes using an interactive CodeSee Map

Review in an interactive map

View more CodeSee Maps

Legend

CodeSee Map Legend

jbockle commented 2 years ago

thx I ended up refactoring a bit, the call to updateDefinitions on every add/remove was too much