Browse Source

fix validate action

master
daivph 5 years ago
parent
commit
819113b42a
3 changed files with 0 additions and 3 deletions
  1. +0
    -1
      lib/presentation/screens/actions/harvest_process/sc_edit_action_harvest_process.dart
  2. +0
    -1
      lib/presentation/screens/actions/packing/sc_edit_action_packing.dart
  3. +0
    -1
      lib/presentation/screens/actions/sell/sc_edit_action_sell.dart

+ 0
- 1
lib/presentation/screens/actions/harvest_process/sc_edit_action_harvest_process.dart View File

@@ -174,7 +174,6 @@ class _EditActionHarvestProcessScreenState
_harvestProcess.harvestId = newValue.id;
});
},
validator: (value) => value == null ? "Mã thu hoạch" : null,
isExpanded: true,
items: _buildDropMenu(_harvests));
} else {

+ 0
- 1
lib/presentation/screens/actions/packing/sc_edit_action_packing.dart View File

@@ -160,7 +160,6 @@ class _EditActionPackingScreenState extends State<EditActionPackingScreen> {
_packing.harvestId = newValue.id;
});
},
validator: (value) => value == null ? "Mã thu hoạch" : null,
isExpanded: true,
items: _buildDropMenu(_harvests));
} else {

+ 0
- 1
lib/presentation/screens/actions/sell/sc_edit_action_sell.dart View File

@@ -160,7 +160,6 @@ class _EditActionSellScreenState extends State<EditActionSellScreen> {
_sell.harvestId = newValue.id;
});
},
validator: (value) => value == null ? "Mã thu hoạch" : null,
isExpanded: true,
items: _buildDropMenu(_harvests));
} else {

Loading…
Cancel
Save