Setting up Flatpickr with Simple Form in Rails 7
I wanted to use the flatpickr datetime picker because the default date picker for Simple Form wasn't particularly useful. Install the flatpickr module yarn add flatpickr Add the CSS to the application Add the following line into app/views/layout/application.html.erb <%= csp_meta_tag %>