mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +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:
parent
842d7a93d5
commit
bae1c239e8
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user