formkit icon indicating copy to clipboard operation
formkit copied to clipboard

Load value in mask component

Open mbertolani opened this issue 1 year ago • 2 comments

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]

mbertolani avatar Dec 03 '24 18:12 mbertolani

What browser are you using? I only get an error on null which is what i would expect.

justin-schroeder avatar Dec 03 '24 18:12 justin-schroeder

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?

mbertolani avatar Dec 04 '24 11:12 mbertolani