From c8db7e1678b28280ae61208d043baf8881c68907 Mon Sep 17 00:00:00 2001 From: Sam Maosa Date: Thu, 25 Aug 2022 20:50:34 +0300 Subject: [PATCH] Update flatpickr.blade.php Merge config with the default config passed from the backend --- resources/views/flatpickr.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/flatpickr.blade.php b/resources/views/flatpickr.blade.php index a14f26d..cf71f1d 100644 --- a/resources/views/flatpickr.blade.php +++ b/resources/views/flatpickr.blade.php @@ -1,9 +1,9 @@ @php - $config = [ + $config =array_merge($getConfig(), [ "altInput" => $isAltInput(), "enableTime" => $isEnableTime(), "dateFormat" => $getDateFormat(), - ]; + ]); $attribs = [ "disabled" => $isDisabled(), "theme" => $getTheme(),