From 727c86ad8f9a5dd15162915c7973da62647880b9 Mon Sep 17 00:00:00 2001 From: Mo Khosh Date: Wed, 23 Aug 2023 12:09:03 +0330 Subject: [PATCH] sync date-time-picker with latest changes --- SYNC.md | 1 + resources/views/jalali-date-time-picker.blade.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/SYNC.md b/SYNC.md index d48b8eb..beaed27 100644 --- a/SYNC.md +++ b/SYNC.md @@ -1,6 +1,7 @@ # How to sync this Since I have made as little change as possible to the original Filament component, this should look and feel just like the original. If there's ever a change in the original component, these are the changes I've made, for my own future reference. +Latest sync: Aug 23 ## In the component js file diff --git a/resources/views/jalali-date-time-picker.blade.php b/resources/views/jalali-date-time-picker.blade.php index ef25588..7551e8b 100644 --- a/resources/views/jalali-date-time-picker.blade.php +++ b/resources/views/jalali-date-time-picker.blade.php @@ -38,7 +38,7 @@ isAutofocused: @js($isAutofocused()), locale: @js(app()->getLocale()), shouldCloseOnDateSelection: @js($shouldCloseOnDateSelection()), - state: $wire.{{ $applyStateBindingModifiers("entangle('{$statePath}')") }}, + state: $wire.{{ $applyStateBindingModifiers("\$entangle('{$statePath}')") }}, })" x-on:keydown.esc="isOpen() && $event.stopPropagation()" {{ @@ -111,7 +111,7 @@ wire:ignore wire:key="{{ $this->getId() }}.{{ $statePath }}.{{ $field::class }}.panel" @class([ - 'absolute z-10 rounded-lg bg-white p-4 shadow-lg ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10', + 'fi-fo-date-time-picker-panel absolute z-10 rounded-lg bg-white p-4 shadow-lg ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10', ]) >