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

Form outside of <turbo-frame> updates the full page #1

Open
leevigraham opened this issue Aug 10, 2023 · 1 comment
Open

Form outside of <turbo-frame> updates the full page #1

leevigraham opened this issue Aug 10, 2023 · 1 comment

Comments

@leevigraham
Copy link

leevigraham commented Aug 10, 2023

I've updated the playground to demonstrate the following issue.

  1. The form is not contained in any <turbo-frame> element.
  2. The form data-turbo-frame targets the dynamic-frame form-frame <turbo-frame> elements
  3. Enabling the module (clicking the checkbox) and pressing the form button (submitting) the form refreshes the whole page, not the targets.

Repro: https://github.com/leevigraham/turbo-multiple-frame-targeting

Changes in my repo playground: main...leevigraham:turbo-multiple-frame-targeting:main

@avucic
Copy link

avucic commented Oct 11, 2023

It looks like links doesn't work as well outside the frames. Any updates?

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