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

_harvestProcess.harvestId = newValue.id; _harvestProcess.harvestId = newValue.id;
}); });
}, },
validator: (value) => value == null ? "Mã thu hoạch" : null,
isExpanded: true, isExpanded: true,
items: _buildDropMenu(_harvests)); items: _buildDropMenu(_harvests));
} else { } else {

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

_packing.harvestId = newValue.id; _packing.harvestId = newValue.id;
}); });
}, },
validator: (value) => value == null ? "Mã thu hoạch" : null,
isExpanded: true, isExpanded: true,
items: _buildDropMenu(_harvests)); items: _buildDropMenu(_harvests));
} else { } else {

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

_sell.harvestId = newValue.id; _sell.harvestId = newValue.id;
}); });
}, },
validator: (value) => value == null ? "Mã thu hoạch" : null,
isExpanded: true, isExpanded: true,
items: _buildDropMenu(_harvests)); items: _buildDropMenu(_harvests));
} else { } else {

Loading…
Cancel
Save