Skip to content

Method to blur Tagify #1449

Description

@wurst-hans

I'm using Tagify in select mode (i.e. as dropdown) very often. Currently, I have a special requirement: When a value from dropdown has been selected, then the Tagify object should be resetted and blurred. The reset is not a problem using an event listener:

tagify.on('dropdown:hide', function (event) {
    tagify.removeTags();
});

But I haven't found an option to blur the whole object, it still has focus. See Fiddle also. If you are wondering, what I want to achieve: I just need to get the selected value in dropdown:select event, which works fine, and have to reset the Tagify afterwards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions