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

Tags data-value with separator ' ' (one whitespace) was interpreted as one. #357

Closed
umhan35 opened this issue Sep 4, 2013 · 2 comments
Closed

Comments

@umhan35
Copy link

umhan35 commented Sep 4, 2013

Hi,

I was trying to use select2 with x-editable to edit tags, for which I override some defaults: set separator to ' ' (default is comma).

I set data-value="what,no,alright,sha e b r" that should be actually 4 tags: what,no,alright,sha e b r. But it turned out to be one tag what,no,alright,sha,e,b,r shown.

Here is the js code: http://jsfiddle.net/MYDJ9/5/

Just let me know if anything need to be clarified. Thanks. 😃

@vitalets
Copy link
Owner

vitalets commented Oct 7, 2013

hi, I've fixed this issue in dev branch.
Could you re-check and let me know:
https://github.com/vitalets/x-editable/tree/dev/dist
thx

@umhan35
Copy link
Author

umhan35 commented Oct 8, 2013

Hi,

I have decided to not use the tags mode earlier.

My code is pretty much the same as the code in jsfiddle. You may test it using that code.

Thanks

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

2 participants