react-currency-input-field icon indicating copy to clipboard operation
react-currency-input-field copied to clipboard

Set value props with null via state not clearing the form

Open maulanardy opened this issue 3 years ago • 0 comments
trafficstars

Describe the bug Cannot clear form by set null to its value

To Reproduce set value props with null (described in codesandbox)

Expected behavior since expected output value type from the field is number, it would be great if we can clear the form by set it's value with null instead of empty string

Code Sandbox CodeSandbox

maulanardy avatar Jun 22 '22 05:06 maulanardy