livewire date code example
Example: use dates with laravel livewire
/// This solved my issue with dates and laravel livewire
<div wire.ignore.self>
<input wire.model="birthday_date" id="birthday_date" class="form-controll date" >
<script>
document.addEventListener('livewire:load', function () {
$('#birthday_date').on('dp.change', function (e) {
@this.set('birthday_date', e.target.value);
});
});
</script>
</div>