Filament V3 , How can I use filament's date time picker in A custom Filament Page
Hi folks , I need some much needed help
Background : I am using filament v3 as my project was initially made it in , before i commit to fully switch to v4 I need to complete my MVP for demo
What i wanna do :
1. I have a custom Filament Page
2. I created a normal form element with input fields select filament component
(ex : https://filamentphp.com/docs/3.x/support/blade-components/input ) 3. Now i want to have a date select input element from filament How can i do this ?
(ex : https://filamentphp.com/docs/3.x/support/blade-components/input ) 3. Now i want to have a date select input element from filament How can i do this ?
6 Replies
Can you use the HTML type="datetime-local" for the input type or are you looking for other styling options?
Yes this solved my issue , Now i am thinking if we can get the calendar select pop when i just click on input anywhere , right now it just happens in clicking the calendar icon :p
can you try native= false like the form component maybe ?
i actually tried it, and native=false doesn't work. Let me know if you find a way i'm interested 🙂
?
You can define form on Filament Page (Class) with statepath beacuase you will probably need data, than on page (blade view) you can use whole form if you want or you can use certain inputs in this case datepicker.
hmm , i will look into it
I actually i am running my twitter bird brain in finding out if i can do something on dom level
This do solve the basic requirements though