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

Load data-turbo-method links within the correct turbo frame #411

Merged
merged 2 commits into from
Oct 14, 2021

Conversation

spohlenz
Copy link
Contributor

This is a continuation of @davidgil's work in #341, and addresses the problem raised by @acetinick in #358.

In addition it also addresses some other concerns that had been raised:

  • cleans up the created forms after they are submitted
  • allows data-turbo-frame targets on links with data-turbo-method set

@Intrepidd
Copy link
Contributor

Intrepidd commented Oct 14, 2021

Anything else needed to move this forward ? I'm actually using a forked version of turbo with these changes in production and it's running fantastic.

There are a few conflicts following recent development on main, mind rebasing ?

@spohlenz spohlenz force-pushed the method-link-inside-form branch from 83d403d to aa2bff9 Compare October 14, 2021 10:19
@spohlenz
Copy link
Contributor Author

I've rebased and verified that the tests are still passing.

@davidgil
Copy link
Contributor

For me this looks great!

@dhh dhh merged commit 58d2261 into hotwired:main Oct 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants