I wanted to use a modal for the file download dialogue. This then required I use JavaScript to complete the file download. I am not happy with that solution because I wanted "zero JavaScript" in this app. For now, I accept this as necessary.
To remove the javascript, I will have to stop using a Bootstrap5 modal and create an in-line download form that is swapped into the page by HTMX. That will be future enhancement.
I wanted to use a modal for the file download dialogue. This then required I use JavaScript to complete the file download. I am not happy with that solution because I wanted "zero JavaScript" in this app. For now, I accept this as necessary.
To remove the javascript, I will have to stop using a Bootstrap5 modal and create an in-line download form that is swapped into the page by HTMX. That will be future enhancement.