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

quick fix for considering singleFieldDelimeter when input tags #220

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hilobok
Copy link

@hilobok hilobok commented Oct 17, 2013

Using $.ui.keyCode.COMMA for end of tag is not good idea, because this scan code corresponds to letter in other languages (letter б in cyrillic) what prevent entering tags with this letter. It would be better to use singleFieldDelimiter as end of tag.

… button (which used for letter in cyrillic languages)
@skibulk
Copy link

skibulk commented Mar 3, 2014

It would be better to change line 244 as follows:

(String.fromCharCode(event.which) === that.options.singleFieldDelimiter && event.shiftKey === false) ||

Edit - this might only work with a keypress event instead of a keydown event...

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.

2 participants