get the value from date field in laravel livewire

Solutions on MaxInterview for get the value from date field in laravel livewire by the best coders in the world

showing results for - "get the value from date field in laravel livewire"
Rafael
03 Feb 2016
1 
2
3 /// This solved my issue with dates and laravel livewire   
4  <div wire.ignore.self>  
5  <input wire.model="birthday_date"  id="birthday_date" class="form-controll date" >
6   <script>
7            document.addEventListener('livewire:load', function () {
8                
9                    $('#birthday_date').on('dp.change', function (e) {
10                
11                        @this.set('birthday_date', e.target.value);
12                    });
13            });  
14      </script> 
15  </div>