From 8e53458d84a277915920118f5b289038ca295938 Mon Sep 17 00:00:00 2001 From: Aurangzaib Umer Date: Tue, 1 Oct 2024 15:07:42 +0500 Subject: [PATCH] Fixed consuming answer of other component as a minValue for date picker --- .../android/fhir/datacapture/views/QuestionnaireViewItem.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/datacapture/src/main/java/com/google/android/fhir/datacapture/views/QuestionnaireViewItem.kt b/datacapture/src/main/java/com/google/android/fhir/datacapture/views/QuestionnaireViewItem.kt index d9025fd284..8990e7ee4f 100644 --- a/datacapture/src/main/java/com/google/android/fhir/datacapture/views/QuestionnaireViewItem.kt +++ b/datacapture/src/main/java/com/google/android/fhir/datacapture/views/QuestionnaireViewItem.kt @@ -244,7 +244,8 @@ data class QuestionnaireViewItem( } .all { it } && draftAnswer == other.draftAnswer && - questionText == other.questionText + questionText == other.questionText && + minAnswerValue == other.minAnswerValue /** * Returns whether this [QuestionnaireViewItem] and the `other` [QuestionnaireViewItem] have the