F
Filament13mo ago
jack5m

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?
No description
7 Replies
jack5m
jack5mOP13mo ago
can anyone help me?
awcodes
awcodes13mo ago
Hard to help when nothing in the screenshot shows anything your are trying to achieve with dates.
jack5m
jack5mOP13mo ago
default datepicker display day, month, year. like first picture. i want datepicker display only month and year like second picture
No description
No description
jack5m
jack5mOP13mo ago
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
awcodes
awcodes13mo ago
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.
jack5m
jack5mOP13mo ago
my first question simply is does filament provide any datepicker attribute to display only month and year like below picture
No description
awcodes
awcodes13mo ago
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.
Want results from more Discord servers?
Add your server