\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",[],14039,"Custom Validation Messages Not Displayed in Create Activity Definition Form","2025-10-12T07:40:07Z","https://github.com/ohcnetwork/care_fe/issues/14039",0.7202334,{"description":3220,"labels":3221,"number":3225,"owner":3172,"repository":3173,"state":3226,"title":3227,"updated_at":3228,"url":3229,"score":3230},"**Describe the bug**\n\n**1. Raw translation keys showing instead of translated text**\n- Form displays raw translation keys like \"**field_required**\" instead of actual translated messages in both `DiscountCodeForm.tsx` and `DiscountMonetaryComponentForm.tsx`\n\n**2. Validation messages not appearing for factor/amount fields in `DiscountMonetaryComponentForm.tsx`**\n- When factor or amount fields are left empty, no validation error message is displayed even though error message exist.\n- Only the name field shows validation errors, factor/amount fields show no feedback \n\n**3. HTML5 default validation messages**\n- We can use our custom validation message instead of HTML5 default validation messages for better Localization & Internationalization\n\n**To Reproduce**\nSteps to reproduce the behavior:\n\n1. Go to Billings\n2. Click on Discount Codes and Discount Components\n3. Leave all the field and submit\n4. See error\n\n**Expected behavior**\n- Form should display proper translated messages like \"This field is required\" instead of raw keys like \"field_required\"\n- When factor or amount fields are empty, validation error message \"Either factor or amount must be provided\" should appear below the respective field\n- Custom validation messages should display instead of browser default messages\n\n**Screenshots**\n\nhttps://github.com/user-attachments/assets/82d2293b-2bc5-490f-8f76-b17de2bfa490\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",[3222],{"name":3223,"color":3224},"stale","688388",13234,"closed","Validation errors not appearing and translation issues in discount forms","2025-09-02T06:41:08Z","https://github.com/ohcnetwork/care_fe/issues/13234",0.5477512,{"description":3232,"labels":3233,"number":3240,"owner":3172,"repository":3173,"state":3226,"title":3241,"updated_at":3242,"url":3243,"score":3244},"\n**Describe the bug**\nWhen a discount or tax is added in the ChargeItemDefinition form, a validation error (Expected string, received null)appears on the corresponding input field.\n\n**To Reproduce**\nSteps to reproduce the behavior:\n\n1. Go to 'Settings'\n2. Click on 'ChargeItemDefinitions'\n3. Click on 'Add Definition'\n4. Click on 'Add discount' or 'Add tax' dropdown.\n5. See error\n\n**Expected behavior**\nWhen a discount or tax is added, the input should accept the default value without showing a validation error.\n\n**Screenshots**\n\nhttps://github.com/user-attachments/assets/2aec7375-9430-4924-96f0-8d105b910066\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",[3234,3237],{"name":3235,"color":3236},"question","d876e3",{"name":3238,"color":3239},"needs-triage","ededed",13215,"Bug: Validation error on Discounts and Taxes fields in ChargeItemDefinitions","2025-08-04T07:49:13Z","https://github.com/ohcnetwork/care_fe/issues/13215",0.6825275,{"description":3246,"labels":3247,"number":3251,"owner":3172,"repository":3173,"state":3226,"title":3252,"updated_at":3253,"url":3254,"score":3255},"**Describe the bug**\nNo input fields in Create Discount form have required indicator.\n\n**To Reproduce**\nSteps to reproduce the behavior:\n\n1. Go to '...'\n2. Click on '....'\n3. Scroll down to '....'\n4. See error\n\n**Expected behavior**\nAdd aria-required=\"true\" to Name and Code and correct the \"Field required\" translation\n\n**Screenshots**\n\n\u003Cimg width=\"1911\" height=\"953\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/7f170d78-5e8f-494c-9f31-f3632cf83753\" />\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],{"name":3249,"color":3250},"good first issue","7057ff",13203,"Required indicator (*) missing for fields in AddRequired indicator (*) missing for fields in Create Discount Code form","2025-08-01T17:27:17Z","https://github.com/ohcnetwork/care_fe/issues/13203",0.68436277,{"description":3257,"labels":3258,"number":3259,"owner":3172,"repository":3173,"state":3226,"title":3260,"updated_at":3261,"url":3262,"score":3263},"**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.70844257,["Reactive",3265],{},["Set"],["ShallowReactive",3268],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fBRC29B3sySUMzPa166ZOiftS4SjlbfMhbfmYJnJ5-1I":-1},"/ohcnetwork/care_fe/13219"]