From dd4ad7bb193ac9ffa5b8fb9d3f01eff8fb493906 Mon Sep 17 00:00:00 2001 From: Rithvik Nishad Date: Mon, 22 Jul 2024 16:20:20 +0530 Subject: [PATCH] Fixes spacing issue in patient list phone number field and search inputs (#8185) * fixes #8181 * show error only when out of focus * Revert "show error only when out of focus" This reverts commit 5a33cb78fbe1dcb4c544610ab81fd15b158ec139. --- src/Components/Patient/ManagePatients.tsx | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/Components/Patient/ManagePatients.tsx b/src/Components/Patient/ManagePatients.tsx index b6fc98935e2..087bd9af209 100644 --- a/src/Components/Patient/ManagePatients.tsx +++ b/src/Components/Patient/ManagePatients.tsx @@ -519,7 +519,7 @@ export const PatientManager = () => {
-
+
{patient?.last_consultation?.current_bed && patient?.last_consultation?.discharge_date === null ? (
@@ -788,7 +788,6 @@ export const PatientManager = () => { name, value: qParams[name] || defaultValue, onChange: (e: FieldChangeEvent) => updateQuery({ [e.name]: e.value }), - className: "grow w-full mb-2", }; }; @@ -975,21 +974,23 @@ export const PatientManager = () => {
-
-
+
+
-
+
{ onChange={(e) => setPhoneNum(e.value)} error={phoneNumberError} types={["mobile", "landline"]} + className="w-full grow" /> { onChange={(e) => setEmergencyPhoneNum(e.value)} error={emergencyPhoneNumberError} types={["mobile", "landline"]} + className="w-full" />