How to Create a Datepicker (Clearable) with Alpine JS

This uses Flatpickr.

Created by Mark Mead