Files
opnform-host-nginx/client
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
..
2025-04-10 12:04:25 +02:00
2025-04-10 12:04:25 +02:00
2024-04-15 19:39:03 +02:00
2025-05-07 17:15:56 +02:00
2025-04-01 17:41:10 +02:00
2024-04-15 19:39:03 +02:00
2025-05-07 17:15:56 +02:00
2024-08-27 16:49:43 +02:00
2025-04-10 12:04:25 +02:00
2024-09-23 20:02:38 +02:00
2024-06-18 12:31:17 +02:00
2024-06-06 18:03:41 +02:00
2024-09-02 15:33:17 +02:00
2025-05-07 17:15:56 +02:00
2023-12-09 15:47:03 +01:00
2024-04-15 19:39:03 +02:00
2023-12-09 15:47:03 +01:00

Nuxt 3 Minimal Starter

Look at the Nuxt 3 documentation to learn more.

Setup

Make sure to install the dependencies:

# npm
npm install

# pnpm
pnpm install

# yarn
yarn install

# bun
bun install

Development Server

Start the development server on http://localhost:3000:

# npm
npm run dev

# pnpm
pnpm run dev

# yarn
yarn dev

# bun
bun run dev

Production

Build the application for production:

# npm
npm run build

# pnpm
pnpm run build

# yarn
yarn build

# bun
bun run build

Locally preview production build:

# npm
npm run preview

# pnpm
pnpm run preview

# yarn
yarn preview

# bun
bun run preview

Check out the deployment documentation for more information.