afterStateUpdated() is not working in Datepicker inside livewire components
this is my code please check
when i use tis DatePicker in Normal Resource or widget the afterStateUpdated() is working but not working if i put the same DatePicker inside a Livewire component Form
Solution:Jump to solution
Ok sounds like you haven't filled your component.
ensure you have $this->form->fill() on the mount method....
10 Replies
Try this
Thanks But not working
Solution
Ok sounds like you haven't filled your component.
ensure you have $this->form->fill() on the mount method.
this is my form
And your mount method?
public function mounted(){
$this->form->fill();
}
Wrong
Thank you it's working