Open
Description
doc.list.indexOf("some value")
always returns -1
, where doc
is the first argument of the changeFn passed to handle.change()
. I did some digging into proxies.js and I can make no sense of what is going on in the indexOf() implementation there. Workaround for now is to copy the list first... doc.list.slice().indexOf("some value")
gives me the correct index.
Metadata
Metadata
Assignees
Labels
No labels
Activity