Skip to content

Commit

Permalink
Merge pull request #67 from smiliyas/main
Browse files Browse the repository at this point in the history
Fix Alpine directive from 'ax-' to 'x-' in phone input view
  • Loading branch information
ysfkaya authored Feb 22, 2025
2 parents 8952f5f + 952754f commit ef62396
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions resources/views/phone-input.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,12 @@ class="inline-flex w-full"
>
<div
class="w-full"
x-ignore
@if (FilamentView::hasSpaMode())
{{-- format-ignore-start --}}ax-load="visible || event (ax-modal-opened)" {{-- format-ignore-end --}}
{{-- format-ignore-start --}}x-load="visible || event (ax-modal-opened)" {{-- format-ignore-end --}}
@else
ax-load
x-load
@endif
ax-load-src="{{ \Filament\Support\Facades\FilamentAsset::getAlpineComponentSrc('filament-phone-input', package: 'ysfkaya/filament-phone-input') }}"
x-load-src="{{ \Filament\Support\Facades\FilamentAsset::getAlpineComponentSrc('filament-phone-input', package: 'ysfkaya/filament-phone-input') }}"
x-data="phoneInputFormComponent({
options: {
allowDropdown: @js($isAllowDropdown()),
Expand Down
2 changes: 1 addition & 1 deletion tests/Browser/views/components/layouts/app.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<meta name="csrf-token" content="{{ csrf_token() }}">

<script
src="https://cdn.jsdelivr.net/npm/async-alpine@1.x.x/dist/async-alpine.script.js"
src="https://cdn.jsdelivr.net/npm/async-alpine@2.x.x/dist/async-alpine.script.js"
defer
></script>
<script
Expand Down

0 comments on commit ef62396

Please sign in to comment.