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

Missing Documentation for Turbo.setFormMode #189

Open
nzifnab opened this issue May 6, 2024 · 0 comments
Open

Missing Documentation for Turbo.setFormMode #189

nzifnab opened this issue May 6, 2024 · 0 comments

Comments

@nzifnab
Copy link

nzifnab commented May 6, 2024

While looking for a way to disable turbo for form submissions (due to compatibility issues while trying to add turbo to a mature rails site), I ran across this: https://stackoverflow.com/questions/70921317/how-can-i-disable-hotwire-turbo-the-turbolinks-replacement-for-all-forms-in

which links to this merged-in feature: hotwired/turbo#419

But Turbo.setFormMode appears to be undocumented on the turbo documentation site, making it's discoverability difficult, and making it unclear whether that's an intended feature or a hidden implementation detail that may change in the future.

Can we get this documented?

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

No branches or pull requests

1 participant