2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-12 02:05:29 +00:00

Fixes for static analysis

This commit is contained in:
Oliver Walters
2022-03-29 20:43:27 +11:00
parent e9608ec1fc
commit ad97fb0f92
6 changed files with 26 additions and 9 deletions

View File

@ -486,6 +486,8 @@ class APIFormField {
if (quantity == null) {
return L10().numberInvalid;
}
return null;
},
onSaved: (val) {
data["value"] = val;
@ -673,6 +675,8 @@ class APIFormField {
if (required && (value == null || value.isEmpty)) {
// return L10().valueCannotBeEmpty;
}
return null;
},
);
}