2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-15 19:45:46 +00:00

Fix for forms.js (#4996)

- Fixes subtle bug introduced in recent javascript linting fix
- Prevented error messages from displaying on modal forms
- The whole thing needs to be razed and rebuilt
This commit is contained in:
Oliver
2023-06-08 21:30:10 +10:00
committed by GitHub
parent 842d7a93d5
commit bae1c239e8

View File

@ -1362,7 +1362,7 @@ function handleNestedArrayErrors(errors, field_name, options={}) {
// Find the target (nested) field
var target = `${field_name}_${sub_field_name}_${nest_id}`;
addFieldErrorMessage(target, errors, options);
addFieldErrorMessage(target, sub_errors, options);
}
}
}