updated to livewire 3

This commit is contained in:
2025-03-10 15:10:41 +01:00
parent 14786d2798
commit 9466fe6fe9
8 changed files with 13 additions and 13 deletions
@@ -26,7 +26,7 @@
<div class="mt-4" x-data="{}" x-on:confirming-password.window="setTimeout(() => $refs.confirmable_password.focus(), 250)">
<x-input type="password" class="mt-1 block w-3/4" placeholder="{{ __('Password') }}" autocomplete="current-password"
x-ref="confirmable_password"
wire:model="confirmablePassword"
wire:model.live="confirmablePassword"
wire:keydown.enter="confirmPassword" />
<x-input-error for="confirmable_password" class="mt-2" />
+1 -1
View File
@@ -13,7 +13,7 @@ $maxWidth = [
@endphp
<div
x-data="{ show: @entangle($attributes->wire('model')) }"
x-data="{ show: @entangle($attributes->wire('model')).live }"
x-on:close.stop="show = false"
x-on:keydown.escape.window="show = false"
x-show="show"