Formula help

  • nathandh.-1362792440427450508

    nathandh

    2 days ago

    OK here's the deal:

    I've got a simple filter component acting on a returned API set. Each returned item has an array of properties, and I want the formula to filter by checking to see if any of the properties in the array match the currently selected variable.

    Thinking this should be a find action, returning true if any of the items in the array are a match, which then filters the set? I thought this would be easy but I can't figure it out 😄
  • max.kayr-1362798584608850021

    Max

    2 days ago

    Do you have an example of your data structure (JSON) and your filter condition?
  • filip_dajkovic-1362803298461024457

    Filip Dajkovic

    2 days ago

    You shouldn't use Find formula (action) for that, it just returns the first matching item, you'll need the Filter formula which returns a new array containing only items which returned true

Stop scrolling. Start building.

toddle is a visual web app builder that rivals custom code — but accessible to your entire team!

Try toddle — it's free!

© Copyright 2024 toddle. All rights reserved.