2
0
mirror of https://github.com/inventree/InvenTree.git synced 2026-05-09 03:03:41 +00:00

[UI] Fix for parameter form (#11875) (#11877)

- Ensure string field is properly selected

(cherry picked from commit aae97eeb40)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
This commit is contained in:
github-actions[bot]
2026-05-05 19:48:02 +10:00
committed by GitHub
parent ba2dbaead1
commit a60e85b668
+3
View File
@@ -192,6 +192,9 @@ export function useParameterFields({
} }
} else if (record?.selectionlist) { } else if (record?.selectionlist) {
setFieldType('related field'); setFieldType('related field');
} else {
// Default to a simple string field
setFieldType('string');
} }
} }
}, },