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
return an impossible query maybe
where(‘id’, -1)