mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-30 05:00:26 +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:
1 parent
842d7a93d5
commit
bae1c239e8
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user