Question about filter datepicker display and filter select option
Hi filament community, i have two questions about filament
1. How can i set filter datepicker display month and year only, exclude day.
2. I've created table to show data from table A. But i want when i choose option value = 2, i'll retrive data from table B. How can i do that?
7 Replies
can anyone help me?
Hard to help when nothing in the screenshot shows anything your are trying to achieve with dates.
default datepicker display day, month, year. like first picture. i want datepicker display only month and year like second picture
and screenshot picture in question is for second question that if choose option "type 1", i'll get data from A table. but when i choose option "type 2" i'll get data from B table to show on table
So, this is really about if it’s a native date picker or not.?
Seems like you want Filament to give you something that is decided by you. If that make sense.
my first question simply is does filament provide any datepicker attribute to display only month and year like below picture
Out of the box, no. That’s is a specific use case.
Maybe a plug-in like #flatpickr can give you what you need but that is a very specific use case that is dependent on your app’s needs.