Skip to content

dupEmailCheck validation fails #19

@rturnes

Description

@rturnes

Hi!
I am using this component and I would like to suggest a correction.
When an email with dot is inserted (example: "roberta.t@email.com"), the dupEmailCheck validation fails.

Replace the line 109 with:
var existingElement = $list.find(".email_name[data-email='" + arr[i].toLowerCase().replace('.', '\\.').replace('@', '\\@') + "']");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions