mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-02-04 14:33:19 +00:00
Fixes for type casting
This commit is contained in:
parent
9d95cae612
commit
c1152ee286
18 changed files with 294 additions and 228 deletions
|
|
@ -349,13 +349,13 @@ class _StockItemDisplayState extends RefreshableState<StockDetailWidget> {
|
|||
hint: L10().searchLocation,
|
||||
onChanged: null,
|
||||
itemAsString: (dynamic location) {
|
||||
return location['pathstring'];
|
||||
return (location['pathstring'] ?? '') as String;
|
||||
},
|
||||
onSaved: (dynamic location) {
|
||||
if (location == null) {
|
||||
location_pk = null;
|
||||
} else {
|
||||
location_pk = location['pk'];
|
||||
location_pk = location['pk'] as int;
|
||||
}
|
||||
},
|
||||
isFilteredOnline: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue