Bug #51
closedDisease Name Field Accepts Excessively Long Input Causing UI Break (Web).
Description
The Disease Name field allows users to enter excessively long text without any validation or character limit. This leads to UI distortion in the disease listing page, where the long text overflows and breaks the layout.
Environment
URL: https://dev.akinderwellness.com/pages/diseases
Platform: Web (Chrome – Windows)
Steps to Reproduce
- Go to Diseases page
- Click on Edit Disease
- In Disease Name field, enter a very long string (hundreds of characters)
- Click Update Disease
- Observe the disease list UI
Actual Result
The system accepts very long disease names without restriction
The UI layout breaks in the listing page
Text overflows and disrupts design alignment
Expected Result
Disease name should have a character limit.
Input validation should prevent excessive length
UI should handle long text gracefully (ellipsis / wrap / truncate)
Files
Updated by Adhi Narayanan 25 days ago
- File localhost-3000-pages-diseases (3).png localhost-3000-pages-diseases (3).png added
- File localhost-3000-pages-diseases (4).png localhost-3000-pages-diseases (4).png added
- Status changed from New to Resolved
- % Done changed from 0 to 100
Updated by Vivek Kumar 24 days ago
I tried creating a disease and it sent the below response from browser which clearly shows it still accepts long disease names.
{
"success": true,
"message": "Disease added successfully",
"data": {
"status": "Active",
"If_Deleted": false,
"_id": "69c787f9160e31d1655cf42d",
"name": "A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.f 500",
"description": "A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big dise",
"message": "A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A big disease name is coming to the input field.A bi",
"createdBy": "603c4a2f9644be25e93e1089",
"createdAt": "2026-03-28T07:49:13.500Z",
"updatedAt": "2026-03-28T07:49:13.500Z",
"__v": 0
}
}