Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #757 from egovernments/PFM-5842
Browse files Browse the repository at this point in the history
PFM-5842: Fixed category & subcategory value showing null
  • Loading branch information
pradeepkumarcm-egov authored Apr 1, 2024
2 parents 1669e19 + 2cf7ca6 commit cde3e5d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -528,12 +528,14 @@ class ConsumerProvider with ChangeNotifier {

void onChangeOfCategory(val) {
waterconnection.additionalDetails ??= addition.AdditionalDetails();
waterconnection.categoryCtrl.text = val;
waterconnection.additionalDetails?.category = val;
notifyListeners();
}

void onChangeOfSubCategory(val) {
waterconnection.additionalDetails ??= addition.AdditionalDetails();
waterconnection.subCategoryCtrl.text = val;
waterconnection.additionalDetails?.subCategory = val;
notifyListeners();
}
Expand Down

0 comments on commit cde3e5d

Please sign in to comment.