Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate multiple emails #488

Merged
merged 1 commit into from
Feb 28, 2022

Conversation

monishdeb
Copy link
Contributor

@monishdeb monishdeb commented Feb 23, 2022

Validate multiple emails while testing on compose screen:

nyss-mosaico

@monishdeb
Copy link
Contributor Author

@colemanw @lcdservices can you please review this patch !!

@mattwire
Copy link
Collaborator

@monishdeb Needs rebase

<button type="button" class="btn btn-sm btn-primary" title="{{ crmMailing.$invalid || !testContact.email ? ts('Complete all required-mark fields first') : ts('Send test message to %1', {1: testContact.email}) }}" ng-disabled="crmMailing.$invalid || !testContact.email" ng-click="doSend({email: testContact.email})">
{{:: ts('Send test') }}
<button class="btn btn-sm btn-primary" title="{{crmMailing.$invalid || !testContact.email ? ts('Complete all required-mark fields first') : !validateMultipleEmail(testContact.email) ? ts('Not a valid email address') : ts('Send test message to %1', {1: testContact.email})}}" ng-disabled="crmMailing.$invalid || !testContact.email || !validateMultipleEmail(testContact.email)" ng-click="doSend({email: testContact.email})">
{{ts('Send test')}}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the change on this line should be reverted right @colemanw ?

@monishdeb
Copy link
Contributor Author

@mattwire I have done the rebase .. please have a look now.

@mattwire
Copy link
Collaborator

Thanks @monishdeb I'm merging on the basis that we (someone) will do quite a bit of testing before the next release.

@mattwire mattwire merged commit 015edbf into veda-consulting-company:2.x Feb 28, 2022
@colemanw colemanw deleted the validate_email branch March 11, 2022 00:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants