When adding a DatePicker or DateTime Picker to a form (a form on a Livewire component), the
->required()
->required()
option isn't ensuring the field is filled out.
The user can still submit the form and
null
null
is submitted on the back end.
Having a similar but worse issue with the Flatpickr plugin (which is why we went back tothe base component) where it always submits null no matter if you pick a date/time or not.