mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-24 16:57:30 +00:00
- 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:
1 parent
ba2dbaead1
commit
a60e85b668
1 file changed
+3
@@ -192,6 +192,9 @@ export function useParameterFields({
|
||||
}
|
||||
} else if (record?.selectionlist) {
|
||||
setFieldType('related field');
|
||||
} else {
|
||||
// Default to a simple string field
|
||||
setFieldType('string');
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user