I have a blade component which is a form to fill in holidays. In this form I load my datepicker component like this:
<x-datepicker wire:model.live="start" label="{{__('forms.labels.start')}}" placeholder="{{__('forms.labels.start')}}" :enable-time="false" />
In the vacation-item component I dispatch an event that opens the vacation-form with the selected vacation. When I do this, the ID of the wire:id of the form tag, which is the starting tag of the vacation-form, changes and the flatpickr no longer works. How can I fix this that my flatpickr field keeps working (opening the flatpickr calendar) ?