svelte-forms icon indicating copy to clipboard operation
svelte-forms copied to clipboard

[BUG] Combined function marks dirty attribute as true

Open Kyovint opened this issue 3 years ago • 1 comments

Hi!

I'm using combined function to integrate the indicative number and phone number and $myForm.dirty is true just after DOM renders my page.

I need to do validations with dirty attribute since the form is a generic component for my app.

Thanks for read me and i hope the solution could be created soon :)

image

Kyovint avatar Jul 13 '22 15:07 Kyovint

just use some mask with it. On typing it will fill it with whatever you passed to it https://github.com/PaulMaly/svelte-imask

DanilKarasev avatar Aug 03 '22 14:08 DanilKarasev