how to get event dates on change in datetimepicker with laravel livewire code example
Example: how to get event dates on change in datetimepicker with laravel livewire
<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>