You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.
I have a model that is a t.struct that contains a property of t.list of t.struct which in turn contains a property that is a t.list. So basically a list inside a struct inside a list inside a struct :P
Whenever I add or remove an item in the nested list, the onChange callback for the form returns with a kind of undefined, which is incorrect and should be add or remove respectively. This works fine with top level lists, but it fails when the list is inside a struct inside another list. I've tracked this to the onItemChange function in the List component, which doesn't take into account if the change is from a nested list, and completely discards the kind.
The text was updated successfully, but these errors were encountered:
I have a model that is a
t.struct
that contains a property oft.list
oft.struct
which in turn contains a property that is at.list
. So basically a list inside a struct inside a list inside a struct :PWhenever I add or remove an item in the nested list, the
onChange
callback for the form returns with akind
of undefined, which is incorrect and should beadd
orremove
respectively. This works fine with top level lists, but it fails when the list is inside a struct inside another list. I've tracked this to theonItemChange
function in theList
component, which doesn't take into account if the change is from a nested list, and completely discards thekind
.The text was updated successfully, but these errors were encountered: