\n\n\n---\n\n### 🚨 DO NOT EDIT BELOW THIS LINE 🚨\n\n### Instructions for Requesting Assignment:\n\nTo request assignment, please clearly outline your solution and timeline by commenting on the issue using the format below:\n\n**Describe your solution clearly:**\nProvide a detailed explanation of your proposed solution, including your approach, key implementation steps, and relevant examples or references. Mention any dependencies, assumptions, or risks you foresee that might affect your timeline or implementation.\n\n**Expected Timeline:**\n- End date: [Expected submission date of a completed Pull Request]\n\n**Additional Context:**\nInclude any other relevant context, links, screenshots, or resources that support your proposed solution.\n\n> 🚨 Your assignment may be unassigned if there is no activity or progress within the stated timeline unless communicated clearly and agreed upon.\n",[],13989,"Validation is malfunctioning in the healthcare service edit page","2025-10-07T13:03:03Z","https://github.com/ohcnetwork/care_fe/issues/13989",0.69016045,{"description":3196,"labels":3197,"number":3198,"owner":3172,"repository":3173,"state":3199,"title":3200,"updated_at":3201,"url":3202,"score":3203},"**Describe the bug**\nIn the **Patient Create Form**, the following required fields:\n- Name\n- Current Address \n- Permanent Address\n\nare accepting whitespace-only input (e.g. `\" \"`). Despite being marked as required, the form still allows submission and creates the patient record, saving empty looking values for those fields.\n\nThis breaks the required field validation logic.\n\n**To Reproduce**\nSteps to reproduce the behavior:\n\n1. Go to Patient Section\n2. Click on Add New patient\n3. Fill the form \n4. See error\n\n**Expected behavior**\nIf a user enters only whitespace in any required field, it should be treated the same as leaving it empty:\n- A validation error should appear (e.g. “This field is required”)\n- The form should not be submitted until valid text is entered\n\n**Screenshots**\n\nhttps://github.com/user-attachments/assets/eb0cbc78-093f-460a-9b46-a393e4533e7e\n\n**Desktop (please complete the following information):**\n\n- OS: [e.g. iOS]\n- Browser [e.g. chrome, safari]\n- Version [e.g. 22]\n\n**Smartphone (please complete the following information):**\n\n- Device: [e.g. iPhone6]\n- OS: [e.g. iOS8.1]\n- Browser [e.g. stock browser, safari]\n- Version [e.g. 22]\n\n**Additional context**\nAdd any other context about the problem here.\n\n---\n\n### 🚨 DO NOT EDIT BELOW THIS LINE 🚨\n\n### Instructions for Requesting Assignment:\n\nTo request assignment, please clearly outline your solution and timeline by commenting on the issue using the format below:\n\n**Describe your solution clearly:**\nProvide a detailed explanation of your proposed solution, including your approach, key implementation steps, and relevant examples or references. Mention any dependencies, assumptions, or risks you foresee that might affect your timeline or implementation.\n\n**Expected Timeline:**\n- End date: [Expected submission date of a completed Pull Request]\n\n**Additional Context:**\nInclude any other relevant context, links, screenshots, or resources that support your proposed solution.\n\n> 🚨 Your assignment may be unassigned if there is no activity or progress within the stated timeline unless communicated clearly and agreed upon.\n",[],12948,"closed","Whitespace Bypasses Required Validation in Patient Form Fields","2025-07-21T08:05:07Z","https://github.com/ohcnetwork/care_fe/issues/12948",0.62797326,{"description":3205,"labels":3206,"number":3213,"owner":3172,"repository":3173,"state":3199,"title":3214,"updated_at":3215,"url":3216,"score":3217},"**Describe the bug**\nThe Date of Birth fields (Day, Month, Year) in the Add Patient Details form are required but do not display the required field indicator (*). This misleads users into thinking the field is optional until an error is shown after form submission.\n\n**To Reproduce**\nSteps to reproduce the behavior:\n\n1. Go to Search Patients\n2. Click on Add New Patient\n3. Scroll down to the Date of Birth section.\n4. Observe that Day, Month, and Year fields do not have an asterisk (*).\n5. Submit the form without filling DOB.\n6. See error: \"Date of birth must be present\".\n\n**Expected behavior**\nRequired fields (like Date of Birth) should show an asterisk (*) or a visual indicator to denote they are mandatory, just like other required fields (e.g., Blood Group, Pincode).\n\n**Screenshots**\nCurrent UI without asterisk:\n\u003Cimg width=\"1272\" height=\"1260\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/b21ea2bc-d7aa-451e-a236-cf4df6968eaa\" />\n\nValidation error after submit:\n\u003Cimg width=\"1318\" height=\"1258\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/cdf21c0f-7cde-4b26-aa6c-5e41f1838e6b\" />\n\n\n\n**Desktop (please complete the following information):**\n\n- OS: [e.g. iOS]\n- Browser [e.g. chrome, safari]\n- Version [e.g. 22]\n\n**Smartphone (please complete the following information):**\n\n- Device: [e.g. iPhone6]\n- OS: [e.g. iOS8.1]\n- Browser [e.g. stock browser, safari]\n- Version [e.g. 22]\n\n**Additional context**\nAdd any other context about the problem here.\n\n---\n\n### 🚨 DO NOT EDIT BELOW THIS LINE 🚨\n\n### Instructions for Requesting Assignment:\n\nTo request assignment, please clearly outline your solution and timeline by commenting on the issue using the format below:\n\n**Describe your solution clearly:**\nProvide a detailed explanation of your proposed solution, including your approach, key implementation steps, and relevant examples or references. Mention any dependencies, assumptions, or risks you foresee that might affect your timeline or implementation.\n\n**Expected Timeline:**\n- End date: [Expected submission date of a completed Pull Request]\n\n**Additional Context:**\nInclude any other relevant context, links, screenshots, or resources that support your proposed solution.\n\n> 🚨 Your assignment may be unassigned if there is no activity or progress within the stated timeline unless communicated clearly and agreed upon.\n",[3207,3210],{"name":3208,"color":3209},"question","d876e3",{"name":3211,"color":3212},"needs-triage","ededed",12971,"Required indicator (*) missing for Date of Birth fields in Add Patient form","2025-07-18T06:05:34Z","https://github.com/ohcnetwork/care_fe/issues/12971",0.63600427,{"description":3219,"labels":3220,"number":3224,"owner":3172,"repository":3173,"state":3199,"title":3225,"updated_at":3226,"url":3227,"score":3228},"**Describe the bug**\nWhen adding a new patient, validation messages for conditionally fields ( Date of Birth not appear on the first submission only after appearing on the second submit.\n\n**To Reproduce**\nSteps to reproduce the behavior:\n\n1. Go to 'Add New Patient ' Tab\n2. Submit the form with empty\n3. See error, the validation message for dob is not showing, only after second submission it is showing. \n\nhttps://github.com/user-attachments/assets/66f31949-f79e-4ad6-a6c6-29985294034e\n\n**Expected behavior**\nconditional fields should show immediately on first submit.\n\nhttps://github.com/user-attachments/assets/0e6d636d-c34a-459b-b506-3cca90641a05\n\n**Screenshots**\nIf applicable, add screenshots to help explain your problem.\n\n**Desktop (please complete the following information):**\n\n- OS: [e.g. iOS]\n- Browser [e.g. chrome, safari]\n- Version [e.g. 22]\n\n**Smartphone (please complete the following information):**\n\n- Device: [e.g. iPhone6]\n- OS: [e.g. iOS8.1]\n- Browser [e.g. stock browser, safari]\n- Version [e.g. 22]\n\n**Additional context**\nAdd any other context about the problem here.\n\n---\n\n### 🚨 DO NOT EDIT BELOW THIS LINE 🚨\n\n### Instructions for Requesting Assignment:\n\nTo request assignment, please clearly outline your solution and timeline by commenting on the issue using the format below:\n\n**Describe your solution clearly:**\nProvide a detailed explanation of your proposed solution, including your approach, key implementation steps, and relevant examples or references. Mention any dependencies, assumptions, or risks you foresee that might affect your timeline or implementation.\n\n**Expected Timeline:**\n- End date: [Expected submission date of a completed Pull Request]\n\n**Additional Context:**\nInclude any other relevant context, links, screenshots, or resources that support your proposed solution.\n\n> 🚨 Your assignment may be unassigned if there is no activity or progress within the stated timeline unless communicated clearly and agreed upon.\n",[3221],{"name":3222,"color":3223},"stale","688388",12620,"Validation errors for conditional fields only appear after second submit","2025-07-23T09:14:22Z","https://github.com/ohcnetwork/care_fe/issues/12620",0.6436625,{"description":3230,"labels":3231,"number":3232,"owner":3172,"repository":3173,"state":3199,"title":3233,"updated_at":3234,"url":3235,"score":3236},"**Describe the bug**\nIn the **Create Healthcare Service** form, the Name and Locations fields are mandatory, as validation errors are shown when they are left empty. However, these required fields are missing the red asterisk **(*)** indicator, which is used elsewhere to denote required fields. This inconsistency may confuse users about which fields are actually required.\n\n**To Reproduce**\nSteps to reproduce the behavior:\n\n1. Go to Settings -> Healthcare Services \n2. Click on Add Healthcare Service\n3. Submit the Form empty\n4. See error\n\n**Expected behavior**\nAll required fields (like Name and Locations) should include a red asterisk **(*)** to clearly indicate that they are mandatory, consistent with other forms.\n\n**Screenshots**\n\nhttps://github.com/user-attachments/assets/1a646b00-5ddb-4c75-88b0-86efb21a67a7\n\n**Desktop (please complete the following information):**\n\n- OS: [e.g. iOS]\n- Browser [e.g. chrome, safari]\n- Version [e.g. 22]\n\n**Smartphone (please complete the following information):**\n\n- Device: [e.g. iPhone6]\n- OS: [e.g. iOS8.1]\n- Browser [e.g. stock browser, safari]\n- Version [e.g. 22]\n\n**Additional context**\nAdd any other context about the problem here.\n\n---\n\n### 🚨 DO NOT EDIT BELOW THIS LINE 🚨\n\n### Instructions for Requesting Assignment:\n\nTo request assignment, please clearly outline your solution and timeline by commenting on the issue using the format below:\n\n**Describe your solution clearly:**\nProvide a detailed explanation of your proposed solution, including your approach, key implementation steps, and relevant examples or references. Mention any dependencies, assumptions, or risks you foresee that might affect your timeline or implementation.\n\n**Expected Timeline:**\n- End date: [Expected submission date of a completed Pull Request]\n\n**Additional Context:**\nInclude any other relevant context, links, screenshots, or resources that support your proposed solution.\n\n> 🚨 Your assignment may be unassigned if there is no activity or progress within the stated timeline unless communicated clearly and agreed upon.\n",[],13283,"Missing Asterisk (*) for Required Fields in Healthcare Service Form","2025-08-07T16:36:11Z","https://github.com/ohcnetwork/care_fe/issues/13283",0.6490075,{"description":3238,"labels":3239,"number":3240,"owner":3172,"repository":3173,"state":3199,"title":3241,"updated_at":3242,"url":3243,"score":3244},"**Describe the bug**\nOn the **Add Patient details** page, the **Nationality** field is required. When the field is left empty, it correctly shows a validation error (“Nationality is required”). However, even after selecting a valid country, the validation error still persists and does not clear.\n\n**To Reproduce**\nSteps to reproduce the behavior:\n\n1. Navigate to the Add Details of Patient page.\n2. Leave the Nationality field empty and attempt to proceed.\n3. Observe the validation error: “Nationality is required.”\n4. Select any country from the dropdown.\n5. Notice that the validation error still persists despite selecting a valid option.\n\n**Expected behavior**\nThe validation error should disappear once a valid country is selected from the Nationality field.\n\n**Screenshots**\n\nhttps://github.com/user-attachments/assets/c589dc88-a06d-4e10-a71a-d134eb706f62\n\n**Desktop (please complete the following information):**\n\n- OS: [e.g. iOS]\n- Browser [e.g. chrome, safari]\n- Version [e.g. 22]\n\n**Smartphone (please complete the following information):**\n\n- Device: [e.g. iPhone6]\n- OS: [e.g. iOS8.1]\n- Browser [e.g. stock browser, safari]\n- Version [e.g. 22]\n\n**Additional context**\nAdd any other context about the problem here.\n\n---\n\n### 🚨 DO NOT EDIT BELOW THIS LINE 🚨\n\n### Instructions for Requesting Assignment:\n\nTo request assignment, please clearly outline your solution and timeline by commenting on the issue using the format below:\n\n**Describe your solution clearly:**\nProvide a detailed explanation of your proposed solution, including your approach, key implementation steps, and relevant examples or references. Mention any dependencies, assumptions, or risks you foresee that might affect your timeline or implementation.\n\n**Expected Timeline:**\n- End date: [Expected submission date of a completed Pull Request]\n\n**Additional Context:**\nInclude any other relevant context, links, screenshots, or resources that support your proposed solution.\n\n> 🚨 Your assignment may be unassigned if there is no activity or progress within the stated timeline unless communicated clearly and agreed upon.\n",[],13667,"Validation Error Persists in Nationality Field","2025-09-09T12:33:44Z","https://github.com/ohcnetwork/care_fe/issues/13667",0.65845597,{"description":3246,"labels":3247,"number":3254,"owner":3172,"repository":3173,"state":3199,"title":3255,"updated_at":3256,"url":3257,"score":3258},"**Describe the bug**\nWhen registering a new patient, if we check the \"phone for emergency contact\" checkbox, the validation error message for the Emergency Phone Number field does not disappear.\n\n**To Reproduce**\nSteps to reproduce the behavior:\n\n1. Go to 'Patients' -> \"Add new patient\".\n2. Check the \"Use this phone number for emergency contact\" checkbox.\n3. Observe that the validation message for Emergency Phone Number remains visible.\n\nhttps://github.com/user-attachments/assets/14859aad-dcc1-491c-b6a1-6d89afb74fa8\n\n**Expected behavior**\nThe validation error for Emergency Phone Number should disappear as the checkbox is checked.\n\n**Screenshots**\nIf applicable, add screenshots to help explain your problem.\n\n**Desktop (please complete the following information):**\n\n- OS: [e.g. iOS]\n- Browser [e.g. chrome, safari]\n- Version [e.g. 22]\n\n**Smartphone (please complete the following information):**\n\n- Device: [e.g. iPhone6]\n- OS: [e.g. iOS8.1]\n- Browser [e.g. stock browser, safari]\n- Version [e.g. 22]\n\n**Additional context**\nAdd any other context about the problem here.\n\n---\n\n### 🚨 DO NOT EDIT BELOW THIS LINE 🚨\n\n### Instructions for Requesting Assignment:\n\nTo request assignment, please clearly outline your solution and timeline by commenting on the issue using the format below:\n\n**Describe your solution clearly:**\nProvide a detailed explanation of your proposed solution, including your approach, key implementation steps, and relevant examples or references. Mention any dependencies, assumptions, or risks you foresee that might affect your timeline or implementation.\n\n**Expected Timeline:**\n- End date: [Expected submission date of a completed Pull Request]\n\n**Additional Context:**\nInclude any other relevant context, links, screenshots, or resources that support your proposed solution.\n\n> 🚨 Your assignment may be unassigned if there is no activity or progress within the stated timeline unless communicated clearly and agreed upon.\n",[3248,3251,3252,3253],{"name":3249,"color":3250},"good first issue","7057ff",{"name":3208,"color":3209},{"name":3222,"color":3223},{"name":3211,"color":3212},13227,"Emergency Contact Field Error Not Dismissing on Checkbox Selection","2025-08-21T13:56:21Z","https://github.com/ohcnetwork/care_fe/issues/13227",0.6606244,{"description":3260,"labels":3261,"number":3263,"owner":3172,"repository":3173,"state":3199,"title":3264,"updated_at":3265,"url":3266,"score":3267},"**Describe the bug**\nIn the **\"Add Patient Details\"** form, there are two issues:\n1. **Confusing Validation with Address Checkbox**\nWhen the checkbox **\"Use this address for permanent address\"** is selected, and the **Current Address** field is left empty, the form throws a “Required” validation error for **both Current and Permanent Address fields**.\nThis is confusing because the user has opted to use the current address as permanent, yet the validation message make it seem like they are still required to fill both fields manually.\n\n2. **Misaligned \"Required\" Label**\nThe **\"Required\"** label for the **State** field appears visually misaligned compared to other fields in the form.\n\n**To Reproduce**\nSteps to reproduce the behavior:\n\n1. Go to \"Add Details of Patient\" form.\n2. Leave the Current Address field empty.\n3. Check the box **\"Use this address for permanent address\"**.\n4. See error\n\n**Expected behavior**\n- If the checkbox is selected, only the Current Address field should show that validation message\n- The **\"Required\"** label for the State field should be properly aligned with the others.\n\n**Screenshots**\n\n\u003Cimg width=\"1012\" height=\"421\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/53514cf7-5581-4143-bd13-1c5cd83b139e\" />\n\n\u003Cimg width=\"917\" height=\"367\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/8207c67e-4615-41dd-81c2-0f7798413842\" />\n\n**Desktop (please complete the following information):**\n\n- OS: [e.g. iOS]\n- Browser [e.g. chrome, safari]\n- Version [e.g. 22]\n\n**Smartphone (please complete the following information):**\n\n- Device: [e.g. iPhone6]\n- OS: [e.g. iOS8.1]\n- Browser [e.g. stock browser, safari]\n- Version [e.g. 22]\n\n**Additional context**\nAdd any other context about the problem here.\n\n---\n\n### 🚨 DO NOT EDIT BELOW THIS LINE 🚨\n\n### Instructions for Requesting Assignment:\n\nTo request assignment, please clearly outline your solution and timeline by commenting on the issue using the format below:\n\n**Describe your solution clearly:**\nProvide a detailed explanation of your proposed solution, including your approach, key implementation steps, and relevant examples or references. Mention any dependencies, assumptions, or risks you foresee that might affect your timeline or implementation.\n\n**Expected Timeline:**\n- End date: [Expected submission date of a completed Pull Request]\n\n**Additional Context:**\nInclude any other relevant context, links, screenshots, or resources that support your proposed solution.\n\n> 🚨 Your assignment may be unassigned if there is no activity or progress within the stated timeline unless communicated clearly and agreed upon.\n",[3262],{"name":3222,"color":3223},13303,"Checkbox logic & UI misalignment issues in \"Add Patient Details\" form","2025-10-01T10:37:54Z","https://github.com/ohcnetwork/care_fe/issues/13303",0.6686675,["Reactive",3269],{},["Set"],["ShallowReactive",3272],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fhO6Dh6lRIFmDe8tlAWvwH6Qk_2f-8mRPgM4PNaKaTXk":-1},"/ohcnetwork/care_fe/13957"]