Custom delimiter option #685

Closed
jbrooksuk opened this Issue Jun 19, 2012 · 1 comment

Projects

None yet

2 participants

@jbrooksuk

I've not been able to find anything, but it'd be handy for an option to add custom delimiters.

I'm using Chosen to take in a list of ages, rather than pressing return each time, it feels more natural to press the comma key. If this is already possible, please ignore my ignorance (but please tell me how ;))

@jbrooksuk jbrooksuk closed this Jan 22, 2015
@ComeBurguburu

The keycode of enter is 13 , the keycode of comma is 88
add "case 88:" before each lign like "case 13:" and add e.preventDefault

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment