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.
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:
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:selectevent, which works fine, and have to reset the Tagify afterwards.