Skip to content
This repository has been archived by the owner on Sep 28, 2020. It is now read-only.

Can't set value to empty string with beforeCreateToken #68

Closed
maciekmp opened this issue Jan 30, 2014 · 0 comments
Closed

Can't set value to empty string with beforeCreateToken #68

maciekmp opened this issue Jan 30, 2014 · 0 comments

Comments

@maciekmp
Copy link

When I am trying to do something like:

    $tag_input.on('beforeCreateToken', function(e) {
        if (e.token.value == e.token.label)
            e.token.value = '';
    })

The value of the object is still the same as label.

@ragulka ragulka closed this as completed in 9ab41ca Feb 5, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant