You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use Actions (<element use:method>) for input formatting (mask), but for some reason it shows odd behavior on special circumstances.
I've tried two approaches. One using .addEventListener() to said input, and other using .set() to data from inside the Action. Both didn't work properly.
Here are two REPLs showing the odd behavior on both cases:
I'm trying to use Actions (
<element use:method>
) for input formatting (mask), but for some reason it shows odd behavior on special circumstances.I've tried two approaches. One using
.addEventListener()
to said input, and other using.set()
to data from inside the Action. Both didn't work properly.Here are two REPLs showing the odd behavior on both cases:
.addEventListener()
:https://svelte.technology/repl?version=2.9.1&gist=a08e29c1548586929f4d78ad3d7fde02
.set()
:https://svelte.technology/repl?version=2.9.1&gist=3469481210a03bf06a8fbef32c5f325f
The text was updated successfully, but these errors were encountered: