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 have create and show modal routes in my application, both with the baseUrl. After submitting the form in the store method, I want to redirect to the show route and display the show modal only, but the create modal remains visible.
Additionally, when I try to close the show modal, it closes both modals instead of just the show modal.
Expected Behavior
After submitting the form, the create modal should close.
The application should navigate to the show route and only display the show modal only.
Current Behavior
The create modal is still visible after redirection.
Closing the show modal also closes the create modal.
Question
How can I ensure that the create modal closes properly after redirecting to the show route?
Any help or suggestions would be greatly appreciated! 🙌
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 create and show modal routes in my application, both with the baseUrl. After submitting the form in the store method, I want to redirect to the show route and display the show modal only, but the create modal remains visible.
Additionally, when I try to close the show modal, it closes both modals instead of just the show modal.
Expected Behavior
Current Behavior
Question
How can I ensure that the create modal closes properly after redirecting to the show route?
Any help or suggestions would be greatly appreciated! 🙌
Beta Was this translation helpful? Give feedback.
All reactions