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
It seems that the submission behavior for the final component on https://next.shadcn-svelte.com/docs/components/form is a little erratic. If you look at the video, it correctly shows the field errors and toast message on the first submission with an empty username. However, after subsequent invalid submissions, it stops working.
The Svelte 4 example https://www.shadcn-svelte.com/docs/components/form always shows field errors on invalid submits and always shows the toast message, which I think is the ideal behavior. I am experiencing this behavior in my personal project as well.
Describe the bug
It seems that the submission behavior for the final component on https://next.shadcn-svelte.com/docs/components/form is a little erratic. If you look at the video, it correctly shows the field errors and toast message on the first submission with an empty username. However, after subsequent invalid submissions, it stops working.
The Svelte 4 example https://www.shadcn-svelte.com/docs/components/form always shows field errors on invalid submits and always shows the toast message, which I think is the ideal behavior. I am experiencing this behavior in my personal project as well.
Svelte 5 erratic behavior:
Svelte.5.Erratic.Behavior.mov
Svelte 4 ideal behavior:
Svelte.4.Ideal.Behavior.mov
Reproduction
Last component on https://next.shadcn-svelte.com/docs/components/form
Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: