Hi guys, I would like to be able to filter data displayed following an API call. I put an input field linked to a variable, but I can't filter the data. I tried with the filter and match block, but i can't achevé this What are the best practices for doing this? Thanks
✅1
Erik Beuschau
1 year ago
Hi @Julien Great question! If I understand your question correctly, you want to filter your API data based on an input in your application? I've recorded a quick example of how you can achieve that here. Let me know if it's helpful 🤞
💪4
Julien
1 year ago
Thank you very much Erik ! Just try, this work fine 👇 https://un_peu_de_style-nocodenews.toddle.site/ But it's only filter the first word of my text. Which one use to filter anywhere in a sentence ? Can't achieve with Match 😕
Jacob Kofoed
1 year ago
Hi @Julien I think the "Includes" formula will achieve this. It states: "Test if an array or string includes a given item"
👍1
🤘1
Julien
1 year ago
I'll test this later and I'll come back to tell you if it works 😉 thank you very much Jacob
Julien
1 year ago
Yep @Jacob Kofoed! This work perfectly, thank you very much
🎉3
Tod
12 months ago
Great energy @PeterShaw! Your continuous contribution to the toddle Community just made you advance to Community Level 1!
Hi @Erik Beuschau Thank you for the video. what if i want to search ion 2 fields? for example i have first name and last name, how could i search in both fields?