Enztun
ย ยทย Enthusiast

Backend Call didn't work (Update Document - Add to set)

Hi everyone,
As the title said, the Add to Set feature "did not work" , or maybe there is a workaround for this ?

Case :

Everything is actually working fine apps is running well in every aspect, except the "Add to Set" is not adding the same value / duplicate value, while what i need is when user input the price, there would be an item with the same price (or same value either string or integer, i tried both). Then, i read the description :

"Add to Set" adds the item to the list if the list does not already contain it.

here is the action :

Again i need to mention, i tried to add the value or string list and double list. still not working. for the double value i used custom function to parse string to double, hoping something would change but no.

Here is the desired output at firebase console, i added it manually for example.

The question is still the same, does anyone has a workaround or alternative for this ? custom action ? function ? or another widget ? Thanks for reading and answering !

3
11 replies