2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-12 10:15:32 +00:00

Form updates

This commit is contained in:
Oliver
2021-07-20 19:14:44 +10:00
parent fd818740f7
commit ca6226a596
3 changed files with 81 additions and 49 deletions

View File

@ -179,21 +179,19 @@ class _PartDisplayState extends RefreshableState<PartDetailWidget> {
var _keywords;
var _link;
launchApiForm(
"Edit Part",
L10().editPart,
part.url,
{
"name": {},
"description": {},
"IPN": {
"hidden": true,
"label": "My custom label!",
},
"IPN": {},
"keywords": {},
"active": {},
"link": {},
},
modelData: part.jsondata,
onSuccess: refresh,
onSuccess: refresh,
);
return;