Closed magarrent closed 1 year ago
Please read the docs. This is already possible.
Hey @rawilk ! I don't see it in the docs.
https://randallwilk.dev/docs/laravel-form-components/v7/inputs/date-picker#user-content-basic-usage
I'm trying with wire:model but it doesn't work
It works just like the other inputs do. I'm not sure what you mean by "doesn't work", but if you have your livewire component set up correctly, a wire:model
will work for it.
class MyComponent extends Component
{
public $myDate;
}
<x-date-picker wire:model="myDate" />
Feature Description
Use datepicker (flatpickr) with livewire (wire:model)
Is this feature valuable for other users as well and why?
No response