Lists must allow duplicates

Many people report bugs with lists that turn out to be the “expected” behaviour - i.e. that Bubble lists don’t allow duplicates. Clearly deduping was not expected by a large number of users, like me, and nor should we expect it as it is completely counterintuitive.

Here are examples of this odd behaviour stopping people in their tracks for hours and causing them to find workarounds:
http://forum.bubble.io/search?q=list%20duplicate%20category:8

This has caught me out now and I have to redesign my app to accommodate it.

This could be simply fixed by moving the old behaviour to new add(dedupe): operators or something similar.

3 Likes

The duplicates in a list - what I’ve found is that you can have duplicate numbers and texts in a list - if you use “set list”. I use it for holding scores, lists of email addresse etc where I want to hold duplicates. I’ve previously tried a lot of messy ways - eg storing a CSV string., storing JSON - very painful.

I made it a free plugin. Gives you a server side action you can use to manipulate your list before you set the list into your database list type.
https://bubble.io/plugin/list-inserter-1644710329977x707267593195487200

Try it out here.
https://list-inserter.bubbleapps.io/version-test?debug_mode=true

Keith’s List Shifter - that will probably do it also but my particular case I wanted to be able to grow the list automatically when required.

Might help you. Good luck.

1 Like

This topic was automatically closed after 14 days. New replies are no longer allowed.