Skip to content

problem when deleting tags #43

@rikirusdian

Description

@rikirusdian

When deleting tags in the collection by pressing the cross button, the tags are not removed and an error appears in the console as follows:
const handleTagsChange = async (newTags) => {
const lastTag = newTags[newTags.length - 1];
const suggestionsArray = suggestions.data || [];
const existingTag = suggestionsArray.find(
(s) => s[attrName]?.toLowerCase() === lastTag.toLowerCase() ==> error

here is the screenshot: https://ibb.co.com/Kz9PRgJW

Evironment:

@strapi/strapi - 5.30.0
strapi-plugin-tagsinput: 2.0.3

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