Skip to content

Commit b699cb8

Browse files
committed
sync view
1 parent 3d76ee8 commit b699cb8

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

resources/views/jalali-date-time-picker.blade.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,12 @@
4040
:attributes="\Filament\Support\prepare_inherited_attributes($getExtraAttributeBag())"
4141
>
4242
<div
43-
x-ignore
4443
@if (FilamentView::hasSpaMode())
45-
{{-- format-ignore-start --}}ax-load="visible || event (ax-modal-opened)"{{-- format-ignore-end --}}
44+
{{-- format-ignore-start --}}x-load="visible || event (ax-modal-opened)"{{-- format-ignore-end --}}
4645
@else
47-
ax-load
46+
x-load
4847
@endif
49-
ax-load-src="{{ \Filament\Support\Facades\FilamentAsset::getAlpineComponentSrc('filament-jalali', 'mokhosh/filament-jalali') }}"
48+
x-load-src="{{ \Filament\Support\Facades\FilamentAsset::getAlpineComponentSrc('filament-jalali', 'mokhosh/filament-jalali') }}"
5049
x-data="filamentJalaliFormComponent({
5150
displayFormat:
5251
'{{ convert_date_format($getDisplayFormat())->to('day.js') }}',
@@ -92,7 +91,7 @@
9291
aria-label="{{ $getPlaceholder() }}"
9392
type="button"
9493
tabindex="-1"
95-
@disabled($isDisabled)
94+
@disabled($isDisabled || $isReadOnly())
9695
{{
9796
$getExtraTriggerAttributeBag()->class([
9897
'w-full',

0 commit comments

Comments
 (0)