mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Enable multi-line text editing for API forms
- User can edit part notes - User can edit stock item notes
This commit is contained in:
parent
b8379e05db
commit
d6a2a41ab2
10 changed files with 129 additions and 82 deletions
|
|
@ -8,9 +8,6 @@ import 'package:inventree/inventree/stock.dart';
|
|||
import 'package:inventree/widget/progress.dart';
|
||||
|
||||
import 'package:inventree/widget/refreshable_state.dart';
|
||||
import 'package:inventree/widget/fields.dart';
|
||||
import 'package:inventree/widget/dialogs.dart';
|
||||
import 'package:inventree/widget/snacks.dart';
|
||||
import 'package:inventree/widget/stock_detail.dart';
|
||||
import 'package:inventree/widget/paginator.dart';
|
||||
import 'package:inventree/l10.dart';
|
||||
|
|
@ -37,8 +34,6 @@ class _LocationDisplayState extends RefreshableState<LocationDisplayWidget> {
|
|||
|
||||
final InvenTreeStockLocation? location;
|
||||
|
||||
final _editLocationKey = GlobalKey<FormState>();
|
||||
|
||||
@override
|
||||
String getAppBarTitle(BuildContext context) { return L10().stockLocation; }
|
||||
|
||||
|
|
@ -101,14 +96,6 @@ class _LocationDisplayState extends RefreshableState<LocationDisplayWidget> {
|
|||
modelData: _loc.jsondata,
|
||||
onSuccess: refresh
|
||||
);
|
||||
|
||||
// Values which an be edited
|
||||
var _name;
|
||||
var _description;
|
||||
|
||||
if (location == null) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
_LocationDisplayState(this.location);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue