Description:
schema: {
foo: {type: 'array'},
bar: {type: 'array'}
}
The two arrays share the same reference. If you push to bar, it will also be seen as pushed to foo.
It's fixed if I specify my own array:
schema: {
foo: {type: 'array', default: []},
bar: {type: 'array', default: []}
}
Could I try to fix this?
Yeah!
Most helpful comment
Could I try to fix this?