Label And value and Remove tag #98

Closed
dtwpt opened this Issue Aug 30, 2012 · 2 comments

Comments

Projects
None yet
3 participants
@dtwpt

dtwpt commented Aug 30, 2012

Hello,

I have been testing out tag-it, for a project im handling, i have been able to do some modifications using the codes pressent here on the issues to help me out.

Explaining.

At the moment i have tag-it with autocomplete, when i choose an item, it shows the label, but passes the value, on submit.

On reloading an item previous submited trought a form, i managed to re-add the tags to tag-it without a problem.

I can add more tags also to the tag-it field, without issue.

Now when , i try to remove them, it only removes the Label, but not the value, witch keeps being send over the form.

I have been cheking out how to solve this issue but i didnt manage to find any solution.

Can anyone help me out?

@dtwpt dtwpt closed this Aug 30, 2012

@dtwpt dtwpt reopened this Aug 30, 2012

@EricAu

This comment has been minimized.

Show comment Hide comment
@EricAu

EricAu Sep 27, 2012

The onTagRemoved fires before the "value" be removed, so you are getting the value using assignedTag within the event

chemass has modified the events and you may have a reference:
https://github.com/chemass/tag-it

EricAu commented Sep 27, 2012

The onTagRemoved fires before the "value" be removed, so you are getting the value using assignedTag within the event

chemass has modified the events and you may have a reference:
https://github.com/chemass/tag-it

@aehlke

This comment has been minimized.

Show comment Hide comment
@aehlke

aehlke Nov 29, 2012

Owner

There are now before/afterTagAdded events.

Owner

aehlke commented Nov 29, 2012

There are now before/afterTagAdded events.

@aehlke aehlke closed this Nov 29, 2012

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