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
Firstly, thank you for the amazing work on elm-pages; it has been instrumental in our projects. I’m currently implementing a multi-step form that spans multiple routes, using the GPR (Get, Post, Redirect) pattern.
However, I’ve encountered two issues:
Back Button Functionality
The back button doesn’t behave as expected when navigating between the steps. It goes back to the page before the multi-step form was started, rather than to the previous step. I have a working SSCCE available at https://github.com/shahnhogan/elm-pages-multi-step-form-gpr-pattern-sscce that demonstrates the issue. Interestingly, if I disable JavaScript, the back button works as expected.
Client-side init Cmd
I assumed this would trigger each time a route redirect happens, but this doesn't seem to be the case. This behavior is important for our client-side event tagging to inform our system when a user completes steps 1, 2, or 3.
Would it be possible to look into these behaviors or clarify if there are workarounds available?
Thank you so much for taking the time to review this and for all your hard work on this excellent tool! I appreciate any insights or guidance you could provide.
The text was updated successfully, but these errors were encountered:
Firstly, thank you for the amazing work on elm-pages; it has been instrumental in our projects. I’m currently implementing a multi-step form that spans multiple routes, using the GPR (Get, Post, Redirect) pattern.
However, I’ve encountered two issues:
Back Button Functionality
The back button doesn’t behave as expected when navigating between the steps. It goes back to the page before the multi-step form was started, rather than to the previous step. I have a working SSCCE available at https://github.com/shahnhogan/elm-pages-multi-step-form-gpr-pattern-sscce that demonstrates the issue. Interestingly, if I disable JavaScript, the back button works as expected.
Client-side
init
CmdI assumed this would trigger each time a route redirect happens, but this doesn't seem to be the case. This behavior is important for our client-side event tagging to inform our system when a user completes steps 1, 2, or 3.
Would it be possible to look into these behaviors or clarify if there are workarounds available?
Thank you so much for taking the time to review this and for all your hard work on this excellent tool! I appreciate any insights or guidance you could provide.
The text was updated successfully, but these errors were encountered: