Tagify "On add" events sometimes wrongfully triggers once again after losing focus

W 4.9.1.
NodeJS

I have a Tagify input.
Text Field: “title”
Value Field: “id”.

With it I have an “On add” event, that writes input “value” to the page query.
Usually it works well.

But some of the titles in my DB have additional empty space at the end of it.
And such titles cause wrong behavior: After I select some object in Tagify input and then lose focus on input, then “On add” triggers again, and it adds not “value” field, but “text”.

For example:
Right after select some object (everything alright):
image

After losing focus of Tagify input:
image

Tagify settings:

“On add” event:
image

Element code:

Community Page
Last updated: