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

[allowedTagsPattern]="regex" doesn't take the regex for the email pattern. #16

Open
saiyaff opened this issue Dec 31, 2016 · 0 comments

Comments

@saiyaff
Copy link

saiyaff commented Dec 31, 2016

Here the error I got in the console

EXCEPTION: Error in ./TagInputComponent class TagInputComponent - inline template:15:4 caused by: this.allowedTagsPattern.test is not a function ErrorHandler.handleError @ error_handler.js:48 error_handler.js:50ORIGINAL EXCEPTION: this.allowedTagsPattern.test is not a function ErrorHandler.handleError @ error_handler.js:50 error_handler.js:53ORIGINAL STACKTRACE: ErrorHandler.handleError @ error_handler.js:53 error_handler.js:54TypeError: this.allowedTagsPattern.test is not a function at TagInputComponent._isTagValid (http://localhost:4200/main.bundle.js:91516:40) at http://localhost:4200/main.bundle.js:91535:51 at Array.filter (native) at TagInputComponent._addTags (http://localhost:4200/main.bundle.js:91535:14) at TagInputComponent.onInputBlurred (http://localhost:4200/main.bundle.js:91484:18) at _View_TagInputComponent0._handle_blur_4_2 (/RlTagInputModule/TagInputComponent/component.ngfactory.js:191:30) at http://localhost:4200/main.bundle.js:68976:24 at http://localhost:4200/main.bundle.js:31428:36 at http://localhost:4200/main.bundle.js:47193:111 at ZoneDelegate.invoke (http://localhost:4200/main.bundle.js:88743:26) ErrorHandler.handleError @ error_handler.js:54 error_handler.js:57ERROR CONTEXT: ErrorHandler.handleError @ error_handler.js:57 error_handler.js:58DebugContext ErrorHandler.handleError @ error_handler.js:58 zone.js:158Uncaught ViewWrappedError

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

No branches or pull requests

1 participant