show content in table only when getTableQuery() return data

I have created a filament page and inserted a Filament form as well as a table. purpose of form is to collect user input and after user submit form, I pass those input to getTableQuery() to make a custom query, this flow works fine but by default it shows all entries in table. How can I make table to do not show content till form is submitted?
1 Reply
Dan Harrin
Dan Harrin2y ago
return an impossible query maybe where(‘id’, -1)
Want results from more Discord servers?
Add your server