Tagify updated event not firing when 3 or more tags are added

Wappler Version : 6.8.0
Operating System : Windows 11
Server Model: NodeJS
Database Type: SQLite
Hosting Type: Local

Expected behavior
The Value Updated event should fire whenever any tag is added or removed.
I have a Tagify input in Default mode. Adding and removing tags works fine. I have a dynamic event for Value Updated configured, currently just sending an Alert for testing. This works when the first and second tags are added, but not the third or subsequent. Removing tags also does not work until there are just two tags remaining: it then fires when the second and first tags are removed.

Actual behavior
The event only fires is there are one or tags entered, but not when there are more than two.

<input id="inp_taxa_group_ids" name="taxa_group_ids" type="number" class="form-control" is="dmx-tagify" dmx-bind:data="conn_taxa_groups.data.query" tag-text="name" tag-value="id" min-chars="0" placeholder="Choose taxa groups" dmx-on:updated="browser1.alert('Tags updated');conn_taxa_occurrences.load({taxa_group_ids: values, offset: 0})">

Do you see any errors in the browser console?

Just one warning when I select the second (and subsequent) tags related to the comma-separated list of id values. Not sure whether this would an issue or not?

I see your input has a type number:

Please remove this and try again.

1 Like

Super, thanks: it was as simple as that!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.