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
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.
The text was updated successfully, but these errors were encountered:
doc.list.indexOf("some value")
always returns-1
, wheredoc
is the first argument of the changeFn passed tohandle.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.The text was updated successfully, but these errors were encountered: