adamchainz / django-htmx

Extensions for using Django with htmx.
https://django-htmx.readthedocs.io/
MIT License
1.66k stars 140 forks source link

'select' kwarg support in HttpResponseLocation #465

Closed Nizzy94 closed 3 months ago

Nizzy94 commented 3 months ago

Python Version

3.12

Django Version

5.0.2

Package Version

1.18.0

Description

I read the issue #461 and it was closed because the problem was claimed to be resolved. It hasn't been solved for me. I was using version 1.17.2 when I realised the select kwarg was not supported. so I upgraded to 1.18.0, which in the documentation and source code shows the select kwag as part of the options.

when I hover over the one in my code, it doesn't show the select options, causing my code to fail. Without it, I would have to restructure a lot of code for it to work. below is a screenshot of the hover:

Screenshot 2024-08-03 at 1 27 24 AM

below is the screenshot of the version I currently upgraded to:

Screenshot 2024-08-03 at 1 31 08 AM

Screenshot 2024-08-03 at 1 31 44 AM

adamchainz commented 3 months ago

It hasn't been released yet, sorry for any confusion. The latest docs are for the latest commit not latest release.

Nizzy94 commented 3 months ago

Ok. thank you