Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to specify the reflex url manually #626

Open
krebbl opened this issue Jan 17, 2023 · 1 comment
Open

Option to specify the reflex url manually #626

krebbl opened this issue Jan 17, 2023 · 1 comment

Comments

@krebbl
Copy link

krebbl commented Jan 17, 2023

Feature Request

Is your feature request related to a problem?

I have a modal dialog which is loaded via a turbo frame. When the dialog is opened the URL of the page stays the same.
For example /codes. The URL of the dialog is /codes/new.
Now when a reflex is triggered inside the form the library uses the window url /codes which leads to the problem that the index action is called instead of the new action.

Describe the solution you'd like

I would like to be able to change the url of the reflex data inside the before hook.

@svyatogor
Copy link

I was wondering the same thing. Ended up using morph to update the dialog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants