How to Remove Item To list and save the list into tinydb

The problem that you are doing that the list text and image returns postion starting from 0 not from 1…Means that if you select the first item the index will be 0!

What’s the solution?

Just make like this :
And do this in any block you are using the postion var in except the remove from list blok
blocks (48)

Learn more :

1 Like

No, the first item is not 0.
It is one.

Edit:

@Mohamed_Tamer is right.

(But this is true) The reason why he got 0 for index 0 is because the item doesn’t exist in the list (index in list), therefore it returns 0.

1 Like

See this @WatermelonIce

1 Like