Is there any way to populate table filter form based on the tab selected in listing page?

I have a date filter in resource table. Date filter has created from and created until. I have multiple tab setup as shown in images I attached. I want to populate or set default value to created from and create until when user changes tab. If user choose tab "This Week", I want to set created from to current week start and created until to current week end. PLEASE Ignore the ->default() in created_at form field. Is there any way to achieve this?
No description
No description
0 Replies
No replies yetBe the first to reply to this messageJoin