opnform-host-nginx/client/components
Chirag Chhatrala a430621b4c
ESC-539 - Refactor SignatureInput Component for Consistency and Enhanced Logic (#749)
* Refactor SignatureInput Component for Consistency and Enhanced Logic

- Updated the `SignatureInput.vue` component to use `InputWrapper` instead of `input-wrapper` for consistency with naming conventions.
- Added logic to reset the signature field value when the model value is an array, improving handling of Notion database data.
- Enhanced the `mounted` lifecycle hook to ensure the signature pad canvas is resized correctly after rendering.
- Improved error handling in the file upload process by capturing the error in the catch block.

These changes aim to enhance the maintainability and functionality of the `SignatureInput` component, ensuring better user experience and consistency across the codebase.

* Refactor SignatureInput Component to Remove Unused ModelValue Logic

- Removed the modelValue handler logic from the `SignatureInput.vue` component, simplifying the component's state management.
- Cleaned up the created lifecycle hook by eliminating unnecessary checks related to Notion array data handling.

These changes aim to enhance the maintainability of the `SignatureInput` component by streamlining its logic and improving overall code clarity.

* fix lint

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2025-05-14 17:19:18 +02:00
..
forms ESC-539 - Refactor SignatureInput Component for Consistency and Enhanced Logic (#749) 2025-05-14 17:19:18 +02:00
global Update Navbar.vue and FormCleanings.vue for Improved Logic and UI Consistency 2025-03-26 17:07:02 +01:00
open Fix hydratation issues. Refactor OpenCompleteForm and app.vue for Improved Component Structure 2025-05-14 12:39:02 +02:00
pages Refactor form rendering (#747) 2025-05-07 17:15:56 +02:00
settings Refactor form rendering (#747) 2025-05-07 17:15:56 +02:00
tools 0351d front end linting (#377) 2024-04-15 19:39:03 +02:00
vendor Sentry + Nuxt upgrade & (#738) 2025-04-01 17:41:10 +02:00
workspaces Refactor form rendering (#747) 2025-05-07 17:15:56 +02:00