From 9f7dbf5ec73428256dfd9474dcd56babfca972a6 Mon Sep 17 00:00:00 2001 From: RoaaGhali98 Date: Thu, 24 Feb 2022 11:28:25 +0200 Subject: [PATCH] Fixing update in update_note --- lib/screens/patients/profile/notes/note/update_note.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/screens/patients/profile/notes/note/update_note.dart b/lib/screens/patients/profile/notes/note/update_note.dart index be42eb59..cd5dc211 100644 --- a/lib/screens/patients/profile/notes/note/update_note.dart +++ b/lib/screens/patients/profile/notes/note/update_note.dart @@ -93,8 +93,8 @@ class _UpdateNoteOrderState extends State { progressNoteController.text = widget.note.notes; if(selectValue==null) selectValue={}; - selectValue['parameterCode'] = widget.note.condition; - selectValue['description'] = widget.note.conditionDescription; + selectValue[keyId] = widget.note.condition; + selectValue['Description'] = widget.note.conditionDescription; }