Add Onchange Handler To Input In Svelte
Im trying to add the asYouType function from libphonenumber-js to my svelte input using an onChange handler as I'm not sure how this can be done with 2 way binding. I have managed
Solution 1:
Handle the input
event, not the change
event: https://svelte.dev/repl/bf21b14cb29e41f28efc802b56e7f152?version=3.23.1
Post a Comment for "Add Onchange Handler To Input In Svelte"