Skip to content

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

@maximkou

Description

@maximkou

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions