skip to Main Content

Laravel – Livewire dispatching event modal with a dynamic content

Im trying to show the user the times when he's available by days and display them in a modal. public function searchAvailability(){ $this->validate(); $doctor = Doctor::where('id',$this->selectedDoctor)->first(); $doctorTimes = DoctorTime::where('doctor_id',$this->selectedDoctor)->get(); $parsedDate = Carbon::parse($this->selectedDate); $dayName = $parsedDate->format('l'); if ($parsedDate->isFuture()) { foreach($doctorTimes as…

VIEW QUESTION

Laravel – DatePicker formatting filament v3

Package Version v3.0.0 DatePicker::make('reservation_date') ->label('Rezervasyon Tarihi') ->live(onBlur: true) I went to DatePicker component inside and add: public static string $defaultDateDisplayFormat = "d/m/Y"; However its still showing as "mm/dd/YYYY" on input before selection and after. Is there a solution for me…

VIEW QUESTION
Back To Top
Search