[UI] Fixes for "tags" field (#13233) (#13234)

- Fetch appropriate 'tags' detail in the form request
- Additional playwright tests

(cherry picked from commit 3383e865cb)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
This commit is contained in:
github-actions[bot]andOliver authored and GitHub committed 2026-11-10 01:33:55 +11:00
1 parent 4d6937ac39
commit d6255aa772
18 files changed
+76 -24

No files matched your search

+2
View File
@@ -75,6 +75,7 @@ export type ApiFormFieldHeader = {
* @param addRow : Callback function to add a new row to a table field
* @param headers : Optional definitions of table headers (for table fields)
* @param singleFetchFunction : Optional function to fetch a single value for this field (used for fetching the initial value when editing an existing object)
* @param fetchParams : Optional query parameters required on the initial data request to populate this field (e.g. optional serializer fields such as 'tags')
*/
export type ApiFormFieldType = {
label?: string;
@@ -138,6 +139,7 @@ export type ApiFormFieldType = {
headers?: ApiFormFieldHeader[];
depends_on?: string[];
singleFetchFunction?: (value: any) => Promise<any> | null;
fetchParams?: Record<string, string>;
};
export type ApiFormFieldSet = Record<string, ApiFormFieldType>;