Filtering Listings on Click Events with IDs

  • /attachments/1314394627880783996/1314394628216197150/Screenshot_2024-12-06_at_1.54.17_PM.png

    Alex

    1 month ago

    Hey Team Need some help filtering a list based on a set variable storing an ID that can be referenced in the repeated lsit I want to filter.

    I've got it working, but if the filter I click does not have any items in the list, it's just an empty list. How can I show a dynamic card "no items" or maybe disable the filter button?
    Screenshot_2024-12-06_at_1.54.17_PM.png
    Screenshot_2024-12-06_at_1.54.52_PM.png
  • Lucas G

    1 month ago

    Have the card only show if the filter results equal an empty array
  • Alex

    1 month ago

    How do I set the variable?
  • /attachments/1314394627880783996/1314410382479065108/Screenshot_2024-12-06_at_2.57.22_PM.png

    Alex

    1 month ago

    Thanks!! Worked
    Screenshot_2024-12-06_at_2.57.22_PM.png
    Screenshot_2024-12-06_at_2.57.08_PM.png
    Screenshot_2024-12-06_at_2.57.06_PM.png
    👍1
  • Alex

    1 month ago

    I wonder how I can reset the filter so it shows all items without a filter applied?
  • Tod

    1 month ago

    Great energy @Alex! Your continuous contribution to the toddle Community just made you advance to Community Level 12!
  • Lucas G

    1 month ago

    The repeat/displays items should be off a variable
  • That way it can be reset to the full list

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.