React-toolbox: Checkbox onChange returns proxy, not value

Created on 26 Nov 2016  路  2Comments  路  Source: react-toolbox/react-toolbox

According to the documentation, the onChange function should get the value, but it gets a Proxy object instead.

Tested on 1.3.0, also happening in the playground (since the proxy object is truthy, the checkbox will always be checked)

I rolled back to 1.2.5 and everything works as expected.

Most helpful comment

I am having a same issue. Seems like onChange is getting fired twice, and returns the proxy on the second run.

All 2 comments

I am having a same issue. Seems like onChange is getting fired twice, and returns the proxy on the second run.

Same

Was this page helpful?
0 / 5 - 0 ratings

Related issues

margaretmoser picture margaretmoser  路  3Comments

guacamoli picture guacamoli  路  4Comments

delacruz-dev picture delacruz-dev  路  4Comments

gustavohenke picture gustavohenke  路  3Comments

pixelpunch picture pixelpunch  路  4Comments