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”.
Right after select some object (everything alright):
After losing focus of Tagify input:
“On add” event: