mirror of
https://github.com/inventree/InvenTree.git
synced 2026-05-09 03:03:41 +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:
committed by
GitHub
parent
ba2dbaead1
commit
a60e85b668
@@ -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');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user