You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
}
`
the "virtual" form created is injected in the parent node of the link, the problem is that if the link is inside another form this functionality dont work. The solution could be to inject the form at the end of body?
@dhh Can we reopen this issue ? The commit was reverted (#362) so we are still facing this issue. I would be glad to give it a swing, any pointers on the way you would like to see it done ?
I detect an issue with the data-turbo-method attribute on links that are included inside another form, this is a follow up of:
#299
In session.ts:
`
convertLinkWithMethodClickToFormSubmission(link: Element) {
const linkMethod = link.getAttribute("data-turbo-method")
}
`
the "virtual" form created is injected in the parent node of the link, the problem is that if the link is inside another form this functionality dont work. The solution could be to inject the form at the end of body?
`
convertLinkWithMethodClickToFormSubmission(link: Element) {
const linkMethod = link.getAttribute("data-turbo-method")
}
`
The text was updated successfully, but these errors were encountered: