mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-13 06:56:48 +00:00
update to livewire 3
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
</span>
|
||||
|
||||
@once
|
||||
<x-jet-dialog-modal wire:model="confirmingPassword">
|
||||
<x-jet-dialog-modal wire:model.live="confirmingPassword">
|
||||
<x-slot name="title">
|
||||
{{ $title }}
|
||||
</x-slot>
|
||||
@@ -26,7 +26,7 @@
|
||||
<div class="mt-4" x-data="{}" x-on:confirming-password.window="setTimeout(() => $refs.confirmable_password.focus(), 250)">
|
||||
<x-jet-input type="password" class="mt-1 block w-3/4" placeholder="{{ __('Password') }}"
|
||||
x-ref="confirmable_password"
|
||||
wire:model.defer="confirmablePassword"
|
||||
wire:model="confirmablePassword"
|
||||
wire:keydown.enter="confirmPassword" />
|
||||
|
||||
<x-jet-input-error for="confirmable_password" class="mt-2" />
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
</x-jet-section-title>
|
||||
|
||||
<div class="mt-5 md:mt-0 md:col-span-2">
|
||||
<form wire:submit.prevent="{{ $submit }}">
|
||||
<form wire:submit="{{ $submit }}">
|
||||
<div class="px-4 py-5 bg-white sm:p-6 shadow {{ isset($actions) ? 'sm:rounded-tl-md sm:rounded-tr-md' : 'sm:rounded-md' }}">
|
||||
<div class="grid grid-cols-6 gap-6">
|
||||
{{ $form }}
|
||||
|
||||
@@ -15,7 +15,7 @@ $maxWidth = [
|
||||
|
||||
<div
|
||||
x-data="{
|
||||
show: @entangle($attributes->wire('model')).defer,
|
||||
show: @entangle($attributes->wire('model')),
|
||||
focusables() {
|
||||
// All focusable element types...
|
||||
let selector = 'a, button, input:not([type=\'hidden\']), textarea, select, details, [tabindex]:not([tabindex=\'-1\'])'
|
||||
|
||||
Reference in New Issue
Block a user