PricingBlog

Select shows value multiple times

  • petershaw99-1247179246594691193

    PeterShaw

    1 year ago

    My databases contains entries in which some values are identical (e.g. db contains movies and for some movies the director is identical). I bound it to a select item but unfortunately now the select item shows some values multiple times. I want each value to be shown in the select item once.
  • lucasg-1247184117846769759

    Lucas G

    1 year ago

    There is a unique node that you can use for that
  • petershaw99-1247454149088378901

    PeterShaw

    1 year ago

    Thanks. Do you know if I can use it directly in the repeated options or do I have to create a variable that stores the array from the API?
  • lucasg-1247537148048183356

    Lucas G

    1 year ago

    If you’re doing any type of data manipulation I’d say it is a good idea to use a variable
  • Like if you plan to allow filtering, etc
  • Or addition/removal of items more so
  • lucasg-1247538041409769482

    Lucas G

    1 year ago

    I don’t know your UI structure but I would do it before the data is used for the repeated list
  • Most likely