How to prevent tags in TagInput from doubling when reordering items in Repeater
I have a TagInput inside a Repeater that gets auto populated based on existing data. Every time I reorder the items in the repeater, the values in the TagInput are doubled.
The JSON data is coming from a column, not a relationship. The code is basic but I will provide a link https://gist.github.com/jnav24/40e34f2c9a50e8c0f588342533145a93
Gist
TagInput values are doubled on reordering items in Repeater
TagInput values are doubled on reordering items in Repeater - tag-input-sample.php
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1149384408260956372/Screenshot_2023-09-07_at_12.21.57_PM.png)
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1149384408550359201/Screenshot_2023-09-07_at_12.22.14_PM.png)
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1149384408802013324/Screenshot_2023-09-07_at_12.22.33_PM.png)
0 Replies