F
Filament6mo ago
jack5m

Dynamic min max datepicker filter in widget table

Hi filament community, I create widget table, and have filters for this table. My desiration is when i choose type 1, created_from value is first day of this month, when i choose type 2, created_from value will be first day of this year. I try to use $get('type') to check but log value null. How can i do? Beside that, when i use ->native(false), UI error appears like under images
No description
No description
1 Reply
jack5m
jack5m6mo ago
this is my filter code
No description