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

How to initialize tag values? #285

Open
PawelRoman opened this issue Oct 7, 2014 · 1 comment
Open

How to initialize tag values? #285

PawelRoman opened this issue Oct 7, 2014 · 1 comment

Comments

@PawelRoman
Copy link

I'm probably missing something but... how can I initialize tag values when initializing from existing ul list?

It seems like the widget is assuming that tag value (in hidden field) will always be the same as the tag label. In real life, tag often represents some object in a database, and I want to keep object id in the hidden field, rather then a label visible to the user (labels are ambigous, you know).

@aehlke
Copy link
Owner

aehlke commented Oct 7, 2014

This is indeed a large issue that needs to be addressed. There are some forks available for this but nothing I'm comfortable with pulling as-is. Unfortunately I haven't had the time to address this myself recently. I suggest you look into some of the forks in the meantime though I'd still like to get to it.

Sent from my iPhone

On Oct 7, 2014, at 5:43 PM, PawelRoman notifications@github.com wrote:

I'm probably missing something but... how can I initialize tag values when initializing from existing

list?
It seems like the widget is assuming that tag value (in hidden field) will always be the same as the tag label. In real life, tag often represents some object in a database, and I want to keep object id in the hidden field, rather then a label visible to the user (labels are ambigous, you know).


Reply to this email directly or view it on GitHub.

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