Getting an item using "Find"

  • fe_rojas-1351209772766068826

    FeRojas

    1 month ago

    I need to get a specific item from an array of objects by its "value" property. I tried to use the formula "find" in different configurations but I cant get the item that I need.

    I want to replicate something like this: options.find(option => option.value === 13)

    How I exactly can I do that with toddle formulas?
  • fe_rojas-1351212488439496724

    FeRojas

    1 month ago

    I find out. I leave my version, maybe could be usefull for someone else. It was very simple actually.
    🔥2
  • 1351212534404743260-image.png