hotwired / turbo

The speed of a single-page web application without having to write any JavaScript
https://turbo.hotwired.dev
MIT License
6.69k stars 423 forks source link

Use navigatable associated form unless submitter opts out (#1246) #1251

Open oliverguenther opened 5 months ago

oliverguenther commented 5 months ago

When using a submitter with [form=id] attribute, it should respect the form's navigatable state unless the submitter explicitly opts out of turbo.

Implements the expected behavior outlined in this comment: https://github.com/hotwired/turbo/issues/1246#issuecomment-2070014930

Related issue: #1246