Skip to content

PHP code snippet – 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> 
See also  How to read data from firebase notification in Java?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.