- Integrated `formatPgError` utility to provide user-friendly error messages based on PostgreSQL error codes during form data operations. - Updated error responses in `saveFormData`, `saveFormDataEnhanced`, `updateFormData`, and `updateFormDataPartial` to include specific messages based on the company context. - Improved error handling in the frontend components to display relevant error messages from the server response, ensuring users receive clear feedback on save operations. - Enhanced the required field validation by incorporating NOT NULL metadata checks across various components, improving the accuracy of form submissions. These changes improve the overall user experience by providing clearer error messages and ensuring that required fields are properly validated based on both manual settings and database constraints. |
||
|---|---|---|
| .. | ||
| ItemSelectionModal.tsx | ||
| ModalRepeaterTableComponent.tsx | ||
| ModalRepeaterTableConfigPanel.tsx | ||
| ModalRepeaterTableRenderer.tsx | ||
| RepeaterTable.tsx | ||
| index.ts | ||
| types.ts | ||
| useCalculation.ts | ||