opnform-host-nginx/client/components/forms
Chirag Chhatrala 204724e34c
Add LogicConfirmationModal Component and Integrate Logic Validation (#742)
* Add LogicConfirmationModal Component and Integrate Logic Validation

- Introduced LogicConfirmationModal component to display validation errors related to form logic.
- Integrated logic validation and cleaning functionalities into FormEditor, prompting users when invalid logic is detected.
- Added useLogicValidation and useLogicCleaner composables for error checking and logic correction.
- Removed deprecated validatePropertiesLogic function to streamline logic handling.

These changes enhance user experience by providing clear feedback on form logic issues and ensuring that invalid logic is addressed before form submission.

* Refactor Logic Handling in Form Components

- Updated LogicConfirmationModal to improve user feedback by changing the title and icon colors, enhancing clarity on incomplete form logic.
- Replaced useLogicValidation and useLogicCleaner with a new useFormLogic composable in FormEditor for streamlined logic validation and cleaning processes.
- Removed deprecated useLogicCleaner and useLogicValidation files to simplify the codebase and improve maintainability.

These changes enhance the user experience by providing clearer messages regarding form logic issues and ensuring that invalid logic is effectively managed before form submission.

---------

Co-authored-by: JhumanJ <julien@nahum.net>
2025-04-28 18:41:39 +02:00
..
components Add regex matching filters to open_filters.json (#722) 2025-03-15 13:55:42 +08:00
validation Form Editor v2.5 (#599) 2024-10-23 10:34:51 +02:00
BarcodeInput.vue Refactor BarcodeInput and CameraUpload Components for Enhanced UI and Functionality 2025-03-15 13:38:38 +08:00
CheckboxInput.vue Enhance CheckboxInput and ToggleSwitchInput Components with Help Slot Positioning (#728) 2025-03-20 15:33:14 +01:00
CodeInput.client.vue fix disabled input dark mode (#622) 2024-11-21 15:59:04 +01:00
ColorInput.vue Form editor v2 (#579) 2024-09-23 20:02:38 +02:00
DateInput.vue Refactor form components (#659) 2025-01-03 16:15:47 +01:00
FileInput.vue Enhance UI components with dark mode and tooltip improvements 2025-03-04 12:21:30 +08:00
FlatSelectInput.vue Form Translation (#616) 2024-12-04 18:32:14 +01:00
ImageInput.vue fix image input clear (#485) 2024-07-15 10:07:00 +02:00
LogicConfirmationModal.vue Add LogicConfirmationModal Component and Integrate Logic Validation (#742) 2025-04-28 18:41:39 +02:00
MatrixInput.vue Refactor form components (#659) 2025-01-03 16:15:47 +01:00
MentionInput.vue Add client linting to GitHub Actions workflow 2025-01-27 18:24:27 +01:00
PaymentInput.client.vue Stripe Payment (#679) 2025-04-10 12:04:25 +02:00
PhoneInput.vue Fix phoneinput inputval watcher (#631) 2024-11-25 17:26:43 +01:00
RatingInput.vue Better form themes (#465) 2024-06-27 17:52:49 +02:00
RichTextAreaInput.client.vue Clean up empty HTML and help text in form inputs (#700) 2025-02-14 15:23:09 +00:00
ScaleInput.vue Better form themes (#465) 2024-06-27 17:52:49 +02:00
SelectInput.vue ESC-240: Fix null pointer exception in SelectInput getOptionName method 2024-08-07 17:30:48 +02:00
SignatureInput.vue Add client linting to GitHub Actions workflow 2025-01-27 18:24:27 +01:00
SliderInput.vue slider input color (#391) 2024-05-07 13:29:19 +02:00
TextAreaInput.vue fix disabled input dark mode (#622) 2024-11-21 15:59:04 +01:00
TextBlock.vue Add client linting to GitHub Actions workflow 2025-01-27 18:24:27 +01:00
TextInput.vue fix disabled input dark mode (#622) 2024-11-21 15:59:04 +01:00
ToggleSwitchInput.vue Enhance CheckboxInput and ToggleSwitchInput Components with Help Slot Positioning (#728) 2025-03-20 15:33:14 +01:00
VForm.vue Better form themes (#465) 2024-06-27 17:52:49 +02:00
useFormInput.js Stripe Payment (#679) 2025-04-10 12:04:25 +02:00