Feature #10938
openi am working on pos main branch to solve the excel sheet iusses
Files
Subtasks
Related issues
Updated by Karthik Palakonda 1 day ago
- File clipboard-202609211957-cyrz1.png clipboard-202609211957-cyrz1.png added
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100

Updated by Karthik Palakonda 1 day ago
- Due date set to 09/21/2026
Here is a clear description and release summary explaining all the changes made, why no functionality was affected, and a commit/PR-ready description:
- 1. Overview & Summary of Changes
All requested updates were applied strictly at the User Interface (UI) and input-presentation layer:
1. 250 Character Limit:
- Added standard HTML/MUI/AntD `maxLength={250}` to all description input fields and textareas across all forms.
- Enforced safe client-side trimming (`.slice(0, 250)`) inside `onChange` handlers so users cannot type or paste more than 250 characters.
2. Numeric-Only Input Filter:
- Restricted Service Area and Depth fields in [Service.tsx](file:///c:/suthra/POS/be1/sub/evergreen_pos_fe/src/pages/ServiceManagement/Service.tsx) to numbers and decimals only via `onKeyDown` and clipboard paste validation.
3. Removed Character Count Displays:
- Removed all `showCount` attributes on Ant Design `Input.TextArea` components.
- Removed all visual counter elements (such as `x/250` text badges and `helperText` counts) across all forms, keeping the inputs clean and clutter-free.
- 2. Why Functionality Was NOT Affected
- API Endpoints & Payloads: No API service methods, request URLs, HTTP verbs, or JSON payload structures were altered. All form submission objects send the exact same keys and data structures as before.
- State Management: No state variables were renamed or deleted. Form state hooks (`useState`, `Formik`, `React Hook Form`) continue to manage form data identically.
- Component Lifecycle & Routing: No hooks (`useEffect`), navigation routes, or modal visibility triggers were changed.
- Validation & Error Handling: Existing required-field checks, error banners, and form validation flows remain completely preserved.
- 3. Note on [CategoryService.tsx](file:///c:/suthra/POS/be1/sub/evergreen_pos_fe/src/pages/Request/CategoryService.tsx) (Your Active File)
- Lines 2129–2172 (`Action History` Modal):
- This section renders the history log modal (displaying user action timestamps and audit trails). No changes were made to this section. - What was touched in this file:
- Only the Category Description textarea in the creation form modal (around line 2750): the visual `{newCategory.description.length}/250` counter span was removed as requested. The form submit logic, modal state, and API requests were not touched.
- 4. PR / Commit Description (Copy & Paste Ready)
```markdown
feat(ui): enforce 250-character limit on description fields and remove visual count indicators
- Enforced a 250-character limit on description inputs and textareas across all modules (Service Management, Documentation, Warehouse, Quotes, Invoices, Subscriptions, Nursery, Users, Settings).
- Prevented overflow beyond 250 characters on keyboard entry and clipboard paste.
- Removed all `showCount` attributes and visual `x/250` counter indicators across all forms for a cleaner UI.
- Restricted Service Area and Depth inputs in Service Management to numeric values only.
- Verified zero impact on backend APIs, form submission logic, and business workflows.
```