jquery-tokeninput
jquery-tokeninput copied to clipboard
The removed element from UI hasn't been removed from the hidden token input
The removed element from UI hasn't been removed from the hidden token input so that we have inconsistent data. The issue was occuring because there was a mistake around where to slice the array. The right position to slice the array is at index-1 since it starts on 0