Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

input type='email' doesn't work with ngList #4185

Open
sudodoki opened this issue Sep 27, 2013 · 4 comments
Open

input type='email' doesn't work with ngList #4185

sudodoki opened this issue Sep 27, 2013 · 4 comments

Comments

@sudodoki
Copy link

If you use, for example <input ng-list type="email" ng-model='email'>
You wouldn't get more than one element into your email array, since email with trailing separating comma will fail the EMAIL_REGEXP match (/^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,6}$/)
Or would you advice to use some custom validation / multiple inputs for array of emails?

@bguezzie
Copy link

bguezzie commented Nov 7, 2014

+1

2 similar comments
@bettysteger
Copy link

+1

@navarrojp
Copy link

+1

@Narretz Narretz self-assigned this Sep 21, 2015
@asontha-zz
Copy link

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants