htmx Questions

1

Solved

I've got an htmx-indicator in my project that I use to display when reloading a portion of the page. However, I am noticing that the loading indicator renders during the initial page render, and th...
Limonene asked 20/7, 2022 at 18:29

1

Solved

I'm working with Django and HTMX. One of my views receives a GET request and returns a whole page. However, if that GET request is from an HTMX element, the view will return a fragment: from django...
Marianamariand asked 2/6, 2022 at 8:54

3

Solved

I'm using Django, Is there a way to check if the current request is from HTMX
Curse asked 28/12, 2021 at 17:2

2

Solved

I would like to send a PATCH request to my app but I'm not sure how to consume the request in Django. I am currently getting the following error. AttributeError: 'WSGIRequest' object has no attribu...
Monster asked 6/12, 2021 at 9:35

1

Solved

Is it possible to enable multiple trigger types for HTMX? I want to trigger HTMX on either content change or page load. Currently, only the first trigger (change) is executed although I include bot...
Deglutinate asked 16/7, 2021 at 3:19

1

Solved

I would like to use tom-select as an Django autocomplete select-widget. In the corresponding database table (Runners) are several hundred rows, so that I can't load all into the html page. In the m...
Azide asked 19/6, 2021 at 7:59

1

Solved

I would like to initialize a select element like in the tom-select Example with my own method: <select id="select-repo" placeholder="Pick a repository..." multiple></se...
Sadoff asked 15/6, 2021 at 15:5

© 2022 - 2024 — McMap. All rights reserved.