Livewire Modal bis datetime-lokal

protected $casts = [
        'inicio'  => 'datetime:Y-m-d\TH:i'
        ,'entrega'  => 'datetime:Y-m-d\TH:i'
   ];
Code Robin