Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend the HTMXSelect widget to support other HTTP methods #17776

Closed
jeremystretch opened this issue Oct 16, 2024 · 0 comments · Fixed by #17779
Closed

Extend the HTMXSelect widget to support other HTTP methods #17776

jeremystretch opened this issue Oct 16, 2024 · 0 comments · Fixed by #17779
Assignees
Labels
status: accepted This issue has been accepted for implementation type: housekeeping Changes to the application which do not directly impact the end user

Comments

@jeremystretch
Copy link
Member

Proposed Changes

The HTMXSelect widget is used to dynamically re-render a form based on the selection of a field (e.g. when changing the type of a remote data source). Currently it supports only GET requests to accomplish this. This proposal would add support for all HTTP methods supported by HTMX: GET, POST, DELETE, PUT, and PATCH.

Justification

POST support is required to use HTMXSelect in a bulk edit form, as bulk edit views must always be accessed via a POST request to capture the selected object IDs. Support for the remaining methods should be added in the interest of completeness.

@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation type: housekeeping Changes to the application which do not directly impact the end user labels Oct 16, 2024
@jeremystretch jeremystretch self-assigned this Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: accepted This issue has been accepted for implementation type: housekeeping Changes to the application which do not directly impact the end user
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant