Hello,
I would like my user be able to select some items from a table, based on items’ Custom States, without going thought the database (could be more than 100 hundreds elements…)
Very nice tip @NigelG. Never thought about this one !
As I’ve got potentially many items, I want all the items be pre-selected and user could remove them one by one. So you’re right about “remove” which is an issue.
Selection without cancellation would frustrate my users. I image clicking an the wrong item after 30 previous ones selected.
I did :
for removing an item => RG’s CustomState_[User]list SET LIST RG’s CustomState[User]list:filtered <>This User’id
for adding an item => RG’s CustomState[User]list SET LIST RG’s CustomState[User]_list:plus item This User
I played with the demo. Process is slow with the progress appearing sometimes and it also bugged sometimes.
https://forum_app.bubbleapps.io/version-test/16_01_27_table_selection
Thanks for the help @emmanuel & @NigelG, but this way is not reliable enough yet to be implemented i think.
The scenario I can think of is if a user clicks an item, deselects it, and then decides to re-select it.
If a filter is used, wouldn’t that still cause the re-added item to be filtered out?
But do it s-l-o-w-l-y … I appear to have created a bubble crasher. Or at least a way to crash the app, app builder and references pages to all give the Chrome “awww snap” at once
Yeah, I’ve just been testing this and it crashes quite easily… Maybe in my real world use it might be a bit more stable, as users probably won’t be playing whack-a-mole with fruity tick boxes