Skip to content

Commit

Permalink
sync date-time-picker with latest changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mokhosh committed Aug 23, 2023
1 parent 6eef99b commit 727c86a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions SYNC.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
4 changes: 2 additions & 2 deletions resources/views/jalali-date-time-picker.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()"
{{
Expand Down Expand Up @@ -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',
])
>
<div class="grid gap-y-3">
Expand Down

0 comments on commit 727c86a

Please sign in to comment.