Hi!
Bubble list operations in general remove duplicates, so you’ll need to do this elsewhere, and javascript is a natural place to do this.
You can use HTML elements, or a plugin like Toolbox.
One limitation with plugins is that workflow steps don’t return a value, so you’ll need to split into two workflows:
Workflow step: Run javascript ;
var newlist = [
custom state list];
newlist[1] = 0;
bubble_fn_newlist( newlist );
Javascript to Bubble event workflow:
set custom state list value to this element’s value.
I recommend this video by Keith …