Answers for "date laravel livewire"

PHP
1

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>
Posted by: Guest on May-11-2021

Code answers related to "date laravel livewire"

Browse Popular Code Answers by Language