From 23fe8ea2f53a3d75327a9e27c49a777203b02a87 Mon Sep 17 00:00:00 2001 From: Iliyas M Date: Fri, 2 May 2025 11:50:04 +0530 Subject: [PATCH] Update async-alpine attributes Replaced `ax-` attributes with `x-` to align with updated component standards. Adjusted loading behavior to include new event trigger and rewrote CSS and script loading attributes for consistency. --- resources/views/select-tree.blade.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/resources/views/select-tree.blade.php b/resources/views/select-tree.blade.php index 4fb9414..b995a46 100644 --- a/resources/views/select-tree.blade.php +++ b/resources/views/select-tree.blade.php @@ -14,14 +14,13 @@
current())) - ax-load="visible" + x-load="visible || event (ax-modal-opened)" @else - ax-load + x-load @endif - ax-load-css="{{ FilamentAsset::getStyleHref('filament-select-tree-styles', package: 'codewithdennis/filament-select-tree') }}" - ax-load-src="{{ FilamentAsset::getAlpineComponentSrc('filament-select-tree', package: 'codewithdennis/filament-select-tree') }}" + x-load-css="[@js(FilamentAsset::getStyleHref('filament-select-tree-styles', package: 'codewithdennis/filament-select-tree'))]" + x-load-src="{{ FilamentAsset::getAlpineComponentSrc('filament-select-tree', package: 'codewithdennis/filament-select-tree') }}" x-data="selectTree({ name: @js($getName()), state: $wire.{{ $applyStateBindingModifiers("\$entangle('{$getStatePath()}')") }},