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

New tag is not added (or added existing tag), if existing tags have item with slug, equal to new tag text #53

Closed
maximkou opened this issue Mar 21, 2019 · 1 comment

Comments

@maximkou
Copy link

maximkou commented Mar 21, 2019

Options:

typeahead = TRUE
existing-tags = [... see dataset below ...]

Dataset:

Existing tags:

{
    1: "first tag",
    2: "second tag"
}

Workaround 1:

  1. Select existing tag 1, tag "first tag" is added. It's ok.
  2. Input text "1", press enter.

Result: Tag is not added, because slug of existing tag 1 is equal to new adding tag. It's not ok.

Workaround 2:

  1. Input text "1", press enter.

Result: added tag named "first tag", but expected "1".

Related wrong code.

@AlexMordred
Copy link
Member

Hey. Sorry for the late reply. This is actually a pretty serious bug, thank you for reporting! A fix is done and will be present in the next release.

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