I am making filtering feature for my ticketing app. It will filter a list of dynamic cards based on input text by user in the filter area. The filter uses the ontextchange event of the text box. Here is the blocks for the filter:
Summary of what it does:
- User input text for filter in tb_TicketListFilter
- The input text will be stored in a variable and used in SELECT statement to find ticket title that has the same text pattern in it, and return the result of a list of record id of the matching title.
- This list of id will then be used to create ticket cards in the vertical scroll arrangement.
- If the user somehow clear the tb_TicketListFilter, all tickets cards will be visible.
However, things are not going as planned. And the issue is not consistent.
Issue: Tried to filter to view “VPN” ticket. But, upon typing “VP”, no tickets are visible
Issue: Tried to filter to view ticket with “conn”. But upon reaching the 4th letter “conn”, no tickets are visible.
Issue: Filtered tickets disappeared when keyboard is hidden, and reappeared if keyboard is visible.
However, I tried a few things to better understand the issue.
-
SELECT statement issue?
No. I have created log variable to store SELECT statement result. As per checking of the logs, all result returned is correct. -
Dynamic Cards not created?
No, using the same log, i have checked using the Dynamic Card Component Built event. All the cards for the filter result are created. -
Dynamic Cards properties somehow become visible=false?
No, using the same log, i have confirmed that the visible=true for all component.
Other blocks for reference:
This block will create dynamic components for each tickets and their respective swipeview component.
Extension used:
Dynamic Component 2.3.0 by yusufcihan
SwipeView by Sumit
SQLite Bennedum
I am posting seeking guidance from all ![]()






