Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Combined function marks dirty attribute as true #85

Open
Kyovint opened this issue Jul 13, 2022 · 1 comment
Open

[BUG] Combined function marks dirty attribute as true #85

Kyovint opened this issue Jul 13, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Kyovint
Copy link

Kyovint commented Jul 13, 2022

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 Kyovint added the bug Something isn't working label Jul 13, 2022
@DanilKarasev
Copy link

DanilKarasev commented Aug 3, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants