Applied HX attributes on HTML form but form still submits traditionally
Trying to implement inline-editing on a card using HTMX. User clicks on the edit button, and JS replaces the card with a <form> contained in an HTML <template>. The form element, on submission, needs to make an hx-post request but makes a traditional submit request instead.