I suppose it’s a bug. It’s more a question for @philippjfr
I only use chrome dev tools to debug scritps.
I use a console.log or debugger statement to know where to insert break points
I use a lot Babel · The compiler for next generation JavaScript to convert jsx into js
1 Like
Actually I can’t reproduce your error
I got the error when I serve it or when I also show the controls()
. If I set m.value=None
, I got nothing when I restart m
on the other cell.
Looks like a bug, may be there is already an issue on github or you can report it.
You can work around the error by changing the onChange callback:
onChange: (_, value) => {
this.setState({value: value})
data.value = value != null ? value : ""
},
and not allowing None in the value parameter
1 Like