Hotwire and django usage tip

I am practicing with Hotwire, and I am implementing it in a project but I have a problem, and it is that when submitting a form, the data persists, but the template remains in the form view, is there a way to fix it? that problem, and I have a question, I have worked with the inlineformset and jquery library to make them dynamically, can I do the same with hotwire or do I have to keep using jquery?

1 Like

Wch type of hotwire? If turbo, it wont behave that way if properly used.

If it’s turbo, is it not possible to submit forms?

the view on the response must contains the turbo-frame
check my post

2 Likes