diff --git a/frontend/mgramseva/lib/providers/consumer_details_provider.dart b/frontend/mgramseva/lib/providers/consumer_details_provider.dart index 71f9c50d9..92b8cac9b 100644 --- a/frontend/mgramseva/lib/providers/consumer_details_provider.dart +++ b/frontend/mgramseva/lib/providers/consumer_details_provider.dart @@ -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(); }