Extend the HTMXSelect widget to support other HTTP methods #17776
Labels
status: accepted
This issue has been accepted for implementation
type: housekeeping
Changes to the application which do not directly impact the end user
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.
The text was updated successfully, but these errors were encountered: