Skip to content
Discussion options

You must be logged in to vote

To give more detail about what I mean, if that's helpful: in islands mode, none of your components are compiled for or run on the client, unless they are specifically marked as #[island]. LoginForm is not, so no client-side code runs. A <form> like the one created by the ActionForm component has its own default HTML behavior, which is what you're seeing. In the case of a <form> submitting directly to a server function, the server function is designed to redirect back to the Referer if no other redirect is set (so that the form submission does not simply land on the server function endpoint and stay there.)

In the case of an error, it will redirect back to the Referer with the error encode…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@tqq1994516
Comment options

Comment options

You must be logged in to vote
4 replies
@tqq1994516
Comment options

@gbj
Comment options

gbj Feb 25, 2025
Maintainer

Answer selected by tqq1994516
@tqq1994516
Comment options

@tqq1994516
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants