app/javascript/packs/cm_admin/scaffolds.js in cm-admin-1.2.7 vs app/javascript/packs/cm_admin/scaffolds.js in cm-admin-1.2.8
- old
+ new
@@ -1,6 +1,8 @@
$(document).on('turbolinks:load', function () {
- $('.select-2').select2();
+ $('.select-2').select2({
+ theme: "bootstrap-5",
+ });
flatpickr("[data-behaviour='date-only']", {
dateFormat: "d-m-Y"
})
flatpickr("[data-behaviour='date-time']", {
enableTime: true
\ No newline at end of file