formkit
formkit copied to clipboard
Load value in mask component
Reproduction
https://formkit.link/df706cea9003313e3cbf579799c26ee0
Describe the bug
the error occurs when I send a new value (empty string or null) to the field.
Environment
• OS: [e.g. iOS] • Browser [e.g. chrome, safari] • Version [e.g. 22]
What browser are you using? I only get an error on null which is what i would expect.
I'm using Chrome. The error in the console only occurs with a null value, however with an empty string (setOneSpace button) the input mask value is not replaced. In the case of a null value, what is your suggestion to get around the error?