iachat/app/javascript/dashboard
Sivin Varghese d1d1398d80
feat: Rewrite customAttributeMixin to validation helper (#9916)
# Pull Request Template

## Description

This PR will replace the use of `customAttributeMixin` with
`shared/helpers/Validators` helper.

Fixes
https://linear.app/chatwoot/issue/CW-3446/rewrite-customattributemixin-mixin-to-a-composable

**Files updated**
1. widget/components/PreChat/Form.vue
2. dashboard/components/CustomAttribute.vue
3. dashboard/routes/dashboard/settings/attributes/EditAttribute.vue

## Type of change

- [x] New feature (non-breaking change which adds functionality)

## How Has This Been Tested?

Test the custom validation is working or not with the custom attributes.


## Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my code
- [x] I have commented on my code, particularly in hard-to-understand
areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream
modules
2024-08-09 18:37:26 +05:30
..
api feat: Generate SSO URL in Chatwoot, move Captain to primary tab (#9871) 2024-08-01 19:22:34 -07:00
assets feat: Update the design for dashboard_apps (#9840) 2024-07-25 16:26:00 -07:00
components feat: Rewrite customAttributeMixin to validation helper (#9916) 2024-08-09 18:37:26 +05:30
composables feat: Replace the use of mentionSelectionKeyboard mixin to a composable (#9904) 2024-08-07 14:14:41 +05:30
constants feat: Better SLA missed events popover (#9215) 2024-04-10 12:49:38 +05:30
helper fix: TypeError: Cannot read properties of null (reading 'user_id') (#9884) 2024-08-07 14:42:01 +05:30
i18n feat: Update the design for canned responses (#9903) 2024-08-07 09:43:47 -07:00
mixins feat: Rewrite customAttributeMixin to validation helper (#9916) 2024-08-09 18:37:26 +05:30
modules feat: Replace the use of keyboardEventListener mixin to a composable (Part -3) (#9897) 2024-08-08 12:40:56 +05:30
routes feat: Rewrite customAttributeMixin to validation helper (#9916) 2024-08-09 18:37:26 +05:30
store feat: Update the design for canned responses (#9903) 2024-08-07 09:43:47 -07:00
App.vue feat: Eslint rules (#9839) 2024-08-05 14:02:16 +05:30
featureFlags.js feat: Generate SSO URL in Chatwoot, move Captain to primary tab (#9871) 2024-08-01 19:22:34 -07:00