Skip to content

Ajax and Enter #6398

Description

@ylmz-12

Hi;

I'm encountering a problem while using select2. What I want is for it to find the data I type in the search box in the database, and if it can't find it, to create a new label.

However, when I use AJAX and receive a "no results found" error, I can't use the Enter key. If it finds at least one result, it creates a new label, but if it doesn't find any results, the Enter key doesn't work. Labels are only created if I have defined "tokenSeparators" and press those keys.

Thank you for your support.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions