question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problem with separatorKeys and separatorKeyCodes

See original GitHub issue

I’m submitting a … (check one with “x”)

[ x ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request/question

Current behavior separatorKeyCodes or separatorKeys not working when manually adding keycodes/strings

Expected behavior The new keycodes/strings would be registered and using the desired keys could separate between tags

Minimal reproduction of the problem with instructions (if applicable) Trying any tag-input in code?

What is the motivation / use case for changing the behavior? (if applicable) So the tag input can use more than one key to separate between tags

What do you use to build your app? (SystemJS, Webpack, angular-cli, etc.). Please specify the version angular-cli version: 1.0.2

Angular version: 4.1.3

ng2-tag-input version: 1.2.9

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ] all

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:16 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
1khdmurdolocommented, May 26, 2017

@Gbuomprisco That did the job. Thanks.

0reactions
Gbuompriscocommented, May 26, 2017

Great!😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

ng2-tag-input separatorKeys not working - Stack Overflow
Everything works, except separatorKeys - it has no effect, when I type space key (keyCode=32) , it behaves as a normal space instead...
Read more >
ngx-chips - npm
Open an issue and tag me if you need it to be published. ... Can use with separatorKeyCodes , either one method matched...
Read more >
Demos > Chips - Angular Material
Use md-separator-keys to customize the key codes which trigger chip creation. ... Add custom separator key codes such as semicolon for e-mails.
Read more >
Email Feature in Angular(using ngx-chips and angular-editor)
4- separatorKeyCodes — They are used for separating the terms. I.e. after selecting an email from a dropdown or writing a particular email, ......
Read more >
Chips - Angular Material
An object used to control when error messages are shown. @Input(). role: string | null ... separatorKeyCodes: readonly number[] | ReadonlySet<number>.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found