Open
Description
Description of the bug
When a NumberField
gets emptied, the component calls the onChange
function passing NaN
as argument.
I would expect it to pass null
or undefined
: it would be way easier to handle such cases since it would be visible in the callback signature.
Playroom reproduction
Version
v0.22.22
What browsers are you seeing the problem on?
Chrome