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
where the first <input> element does not work (as I expected it to), while the second works fine. It seems that Svelte generates the follow code for the input change handler on the first <input> element:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I have the following page in SvelteKit
where the first
<input>
element does not work (as I expected it to), while the second works fine. It seems that Svelte generates the follow code for the input change handler on the first<input>
element:Why does it invalidate
data
? It doesn't for the second<input>
element?Not a lot of code, but available at https://www.sveltelab.dev/c7f9ul5tqurio3r?files=.%2Fsrc%2Froutes%2F%2Bpage.svelte
I'd really like to understand, if someone can help me out ... thanks.
Beta Was this translation helpful? Give feedback.
All reactions