Selection lists updates (#11705)

* Add search capability to selection list entry endpoint

* Use API lookup for selection entries

* Add renderer func

* Allow API filtering

* Fetch selectionentry data related to the selected data item

* remove now unneeded entry

* add missing modelinfo

* fix ref

* add api bump

* Provide optional single fetch function to API forms

- Useful if we need to perform a custom API call for initial data

* django-admin support for SelectionList

* Docstring improvements

* Apply 'active' filter

* Tweak api version entry

* Playwright tests

* Tweak docs wording

* Fix incorrect docstring

* Adjust playwright tests

---------

Co-authored-by: Matthias Mair <code@mjmair.com>
This commit is contained in:
Oliver
2026-04-10 09:22:12 +10:00
committed by GitHub
co-authored by Matthias Mair
parent 6701f4085d
commit 9965ebcfa1
22 changed files with 325 additions and 84 deletions
@@ -287,6 +287,13 @@ export const ModelInformationDict: ModelDict = {
api_endpoint: ApiEndpoints.selectionlist_list,
icon: 'list_details'
},
selectionentry: {
label: () => t`Selection Entry`,
label_multiple: () => t`Selection Entries`,
url_overview: '/settings/admin/part-parameters',
api_endpoint: ApiEndpoints.selectionentry_list,
icon: 'list_details'
},
error: {
label: () => t`Error`,
label_multiple: () => t`Errors`,