\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**\nThe issue is caused in FormField → Input usage:\n\n\u003CInput\n type=\"number\"\n min={1}\n defaultValue={1} // ❌ conflict\n {...field} // includes value + onChange\n/>\n\nThis passes both value and defaultValue, leading to the React error.\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",[],13574,"ohcnetwork","care_fe","open","Bug: Input field throws controlled/uncontrolled warning when using auto-fill slot duration toggle","2025-08-31T10:24:24Z","https://github.com/ohcnetwork/care_fe/issues/13574",0.7423245,{"description":3180,"labels":3181,"number":3182,"owner":3172,"repository":3173,"state":3174,"title":3183,"updated_at":3184,"url":3185,"score":3186},"**Describe the bug**\nIn the Patient Registration form, the gender field lets you deselect an option after it’s been chosen, especially after a failed submit. This triggers an “Invalid enum value” error instead of a simple “Gender is required.”\n\n**To Reproduce**\nSteps to reproduce the behavior:\n\n1. Go to any facility\n2. Go to patient tab in sidebar click search Patients\n3. Click on Add patient button\n4. Submit the form see error.\n\n**Screenshots**\n\n\u003Cimg width=\"2544\" height=\"1526\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/473ef485-0c19-4ace-8a65-e91082a8c02a\" />\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",[],13629,"Gender field can be deselected, shows wrong error","2025-09-05T14:19:22Z","https://github.com/ohcnetwork/care_fe/issues/13629",0.7449954,{"description":3188,"labels":3189,"number":3190,"owner":3172,"repository":3173,"state":3174,"title":3191,"updated_at":3192,"url":3193,"score":3194},"**Describe the bug**\nOn the **Appointments** page, the Search Patients feature has two options:\n1. Search by Patient Name\n2. Search by Phone Number\n\nCurrently:\n- In Search by Phone Number, users can enter strings (letters/characters).\n- In Search by Patient Name, users can enter numbers (like phone numbers).\n\nThis causes confusion and allows invalid searches.\n\n\n**To Reproduce**\nSteps to reproduce the behavior:\n\n1. Go to Appointments → Search Patients.\n2. Select Search by Phone Number.\n3. Enter a string (e.g., \"abcd\").\n4. Observe that the input is accepted.\n5. Switch to Search by Patient Name and enter a number (e.g., \"9876543210\").\n6. Observe that the input is also accepted.\n\n**Expected behavior**\n- Search by Phone Number: Should restrict input to **digits** only.\n- Search by Patient Name: Should restrict input to **letters** only.\n\n**Screenshots**\n\nhttps://github.com/user-attachments/assets/bc154bf6-8c6b-45b1-8bcc-fe0cf38be727\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",[],13953,"Patient Search Input Allows Invalid Data Types","2025-10-03T16:20:16Z","https://github.com/ohcnetwork/care_fe/issues/13953",0.7574124,{"description":3196,"labels":3197,"number":3198,"owner":3172,"repository":3173,"state":3174,"title":3199,"updated_at":3200,"url":3201,"score":3202},"**Describe the bug**\nWhen we are searching using different options, it is showing no entries with the phone number for all options.\nAlso Aadhar number is only numeric but user is able to enter text content.\n\nhttps://github.com/user-attachments/assets/4a003557-890b-4885-81c3-acaa38a542e8\n\n\n**Expected behavior**\nWe can render a generalize text for different options\nAadhar number should be restricted to numeric just like the phone number.\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",[],13006,"Bug: Generalise the text when there is no entry for a search input in Patient earch","2025-07-21T05:07:46Z","https://github.com/ohcnetwork/care_fe/issues/13006",0.75872856,{"description":3204,"labels":3205,"number":3206,"owner":3172,"repository":3173,"state":3207,"title":3208,"updated_at":3209,"url":3210,"score":3211},"**Describe the bug**\nWhen I was inputting a character \"e\" in the decimal and integer type of a question, I observed an incorrect error message as \" This field is required\" instead of showing an error message as \"Invalid input type\" .\n\nSTEPS TO REPRODUCE :\n\n\u003Cimg width=\"1738\" height=\"922\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/ee295229-6d82-47d4-9e02-2755c811ab1c\" />\n\n1) Create a questionnaire with decimal / integer type \n2) Access the questionnaire from encounter section of patient.\n3) Try inputting the field of decimal and integer type with \"e\".\n4) It will show an error message as \" This field is required\" instead of \" Invalid input type \"\n\nEXPECTED BEHAVIOR\nThe system should return an error message like:\n“Please enter a valid number” or “Input must be an integer/decimal”\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",[],12970,"closed","Incorrect error message when wrong input type is entered in questionnaire (e.g., string in decimal/integer field)","2025-08-22T11:07:57Z","https://github.com/ohcnetwork/care_fe/issues/12970",0.6776928,{"description":3213,"labels":3214,"number":3221,"owner":3172,"repository":3173,"state":3207,"title":3222,"updated_at":3223,"url":3224,"score":3225},"**Describe the bug**\nThe **Date of Birth** input component currently allows users to enter unrestricted character lengths (e.g., more than 2 digits for day or month, and more than 4 digits for year). \n\n\n**To Reproduce**\nSteps to reproduce the behavior:\n\n1. Go to 'Facility' > 'Patient' > 'Search patient'\n2. Click on 'Add New Patient'\n3. Scroll down to 'Date of Birth'\n4. Type as much as digits you want in that DD MM YY fields.\n\n**Expected behavior**\n\n- The \"Day\" input should restrict input to 2 digits only.\n- The \"Month\" input should also restrict to 2 digits.\n- The \"Year\" input should be limited to 4 digits, ideally up to the current year.\n- After entering 2 digits in Day and Month fields, the cursor should automatically move to the next input field to improve UX.\n\n\n**Screenshots**\n\nhttps://github.com/user-attachments/assets/6eb06855-70dd-447c-a7f5-fa4c0e10aac8\n\n**Desktop (please complete the following information):**\n\n- OS: Windows 11\n- Browser chrome\n- Version 115+\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**\nAdditionally will have to add auto-focus behavior between fields so that the cursor automatically move to \"MM\", and then to \"YYYY\", otherwise it will affects user experience.\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",[3215,3218],{"name":3216,"color":3217},"question","d876e3",{"name":3219,"color":3220},"needs-triage","ededed",13289,"Bug: Date of Birth (DOB) Inputs Allow Unlimited Characters - In Create New Patient Form","2025-08-08T04:12:59Z","https://github.com/ohcnetwork/care_fe/issues/13289",0.71789306,{"description":3227,"labels":3228,"number":3229,"owner":3172,"repository":3173,"state":3207,"title":3230,"updated_at":3231,"url":3232,"score":3233},"**Describe the bug**\nVitals fields like respiratory rate, Pulse, Temperature, and blood pressure are taking a few characters as input along with an integer.\n----------SS----------------\n\n\n\nNot able to submit the form with a character as an input in these fields, but even after correcting that particular field, the \"Submit \" button is not available until we refresh the page, which will clear all the other entered data from the form.\n\n----------SS--------\n\n\n\n\n\n**To Reproduce**\nSteps to reproduce the behavior:\n\n1. Go to [https://care.coronasafe.in/facility/d95bf507-055d-403f-acd3-3d331c735140/patient/043edc74-22b9-4efe-b8d7-2695eacb6917/encounter/131ed06a-abbc-4ed9-b9df-ca594e58148c/questionnaire/icuconsultation](url)\n2. Use Credentials: Username: jamesnurse\n Password: James@123\n3. Scroll down to 'Vitals.'\n4. Give input character \"e\" in any fields from vitals.\n5. Add other mandatory fields and submit.\n6. See the error by scrolling to the bottom of the page.\n7. Correct these Vitals fields with integers only and submit again.\n8. \"Submit\" button wont work until the page is refreshed. \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",[],12775,"Vitals fields from ICU Consultation form is taking String as a input of instead of Integer only","2025-07-02T10:23:06Z","https://github.com/ohcnetwork/care_fe/issues/12775",0.72273314,{"description":3235,"labels":3236,"number":3240,"owner":3172,"repository":3173,"state":3207,"title":3241,"updated_at":3242,"url":3243,"score":3244},"**Describe the bug**\nThe keyword field on the public patient registration page currently uses the normal keyboard on mobile devices, making it less user-friendly for numeric input. This causes friction for users expected to enter numbers for age\n\n**To Reproduce**\nSteps to reproduce the behavior:\n\n1. Login as Patient with otp : 45612\n2. Click on `Book Appointment`\n3. Book a slot where you would see Add Patient button which opens up Registration page \n4. See error\n\n**Expected behavior**\nIt should have numpad (like numpad shown in video for date field) instead of normal keyword to prevent unwanted problems\n\n**Screenshots**\n\nhttps://github.com/user-attachments/assets/f030b51f-1827-444e-a4d9-36f0d230a4b9\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",[3237],{"name":3238,"color":3239},"good first issue","7057ff",12682,"Update the input mode to numpad for Age Input in Public Patient Registration Form","2025-06-25T10:24:47Z","https://github.com/ohcnetwork/care_fe/issues/12682",0.72464275,{"description":3246,"labels":3247,"number":3248,"owner":3172,"repository":3173,"state":3207,"title":3249,"updated_at":3250,"url":3251,"score":3252},"**Describe the bug**\nNumeric keyboard is not showing for IOS devices\n\n**To Reproduce**\nSteps to reproduce the behavior:\n\n1. Select any of number field in IOS device\n\n**Expected behavior**\nNumeric keypad should be show for IOS devices\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",[],12704,"Show numeric keyboard for number question in IOS devices","2025-06-25T10:10:48Z","https://github.com/ohcnetwork/care_fe/issues/12704",0.7249236,{"description":3254,"labels":3255,"number":3259,"owner":3172,"repository":3173,"state":3207,"title":3260,"updated_at":3261,"url":3262,"score":3263},"**Describe the bug**\nWhen submitting whitespace-only input (space) in these fields: \n- **Encounter Page** → Notes section \n- **Resource Requests** → Reason for Request field \n\nThe system accepts it as valid input, creating: \n- Empty notes that clutter the UI \n- Resource requests with blank reasons\n\n**To Reproduce**\nSteps to reproduce the behavior:\n\n1. Go to encouter page or resource request page\n2. Click on Add Allergy, Add Diagnosis, and Add Symptom or reason of request section\n3. Just enter a space and submit\n4. See error\n\n**Expected behavior**\nUser should not be able to create empty notes, Also reason of request is not supposed to by bypassed with a whitespace.\n\n**Screenshots**\n\nhttps://github.com/user-attachments/assets/f992b635-b1de-400c-9363-9c483b2f2623\n\n\n\n\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",[3256],{"name":3257,"color":3258},"stale","688388",12621,"Entering just whitespace in input fields still creates empty entries","2025-07-29T20:22:14Z","https://github.com/ohcnetwork/care_fe/issues/12621",0.7401258,["Reactive",3265],{},["Set"],["ShallowReactive",3268],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fCA083-Xpd2zbfIpuLkAx64QND6VU1rRsu4saKXwn398":-1},"/ohcnetwork/care_fe/12545"]