fix : ui fix after release 1.3.3
This commit is contained in:
@@ -77,17 +77,15 @@ class SegmentationLogic extends GetxController {
|
||||
void clearForm() {
|
||||
weightController.text = '0';
|
||||
selectedSegment.value = null;
|
||||
|
||||
}
|
||||
|
||||
void validateForm() {
|
||||
isSubmitButtonEnabled = RxBool(
|
||||
var weight = int.tryParse(weightController.text.clearComma.trim());
|
||||
isSubmitButtonEnabled.value =
|
||||
selectedProduct.value != null &&
|
||||
selectedSegment.value != null &&
|
||||
weightController.text.isNotEmpty &&
|
||||
int.tryParse(weightController.text) != null &&
|
||||
int.tryParse(weightController.text)! > 0,
|
||||
);
|
||||
weight! > 0
|
||||
;
|
||||
}
|
||||
|
||||
Future<void> getAllSegmentation([bool isLoadingMore = false]) async {
|
||||
|
||||
Reference in New Issue
Block a user