Filtering Listings on Click Events with IDs

  • alexsiale_17363-1314394627880783996

    Alex

    4 months 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?
    1314394628216197150-Screenshot_2024-12-06_at_1.54.17_PM.png
    1314394628551610448-Screenshot_2024-12-06_at_1.54.52_PM.png
  • lucasg-1314395877342969899

    Lucas G

    4 months ago

    Have the card only show if the filter results equal an empty array
  • alexsiale_17363-1314407343668068392

    Alex

    4 months ago

    How do I set the variable?
  • alexsiale_17363-1314410383452405780

    Alex

    4 months ago

    Thanks!! Worked
    1314410382479065108-Screenshot_2024-12-06_at_2.57.22_PM.png
    1314410382772801546-Screenshot_2024-12-06_at_2.57.08_PM.png
    1314410383133380628-Screenshot_2024-12-06_at_2.57.06_PM.png
    👍1
  • alexsiale_17363-1314412575777230858

    Alex

    4 months ago

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

    Tod

    4 months ago

    Great energy @Alex! Your continuous contribution to the toddle Community just made you advance to Community Level 12!
  • lucasg-1314414545338372178

    Lucas G

    4 months 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.