2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-11 07:24:15 +00:00

Fixes for stockitem rendering in API forms

- Also improved rendering for other models
This commit is contained in:
Oliver
2021-10-04 17:41:09 +11:00
parent 49dc88abbc
commit cd657daf50
2 changed files with 29 additions and 15 deletions

View File

@ -1884,7 +1884,7 @@ function constructChoiceInput(name, parameters) {
*/
function constructRelatedFieldInput(name) {
var html = `<select id='id_${name}' class='select form-control' name='${name}'></select>`;
var html = `<select id='id_${name}' class='select form-control' name='${name}' style='width: 100%;'></select>`;
// Don't load any options - they will be filled via an AJAX request