Upgrade to Livewire 3 (#103)

* upgrade to livewire 3

* fix updater

* fix modal events

* fix modal events
This commit is contained in:
Saeed Vaziry
2024-02-04 18:11:22 +01:00
committed by GitHub
parent 3da1f4fe4c
commit 8bffefabef
98 changed files with 529 additions and 303 deletions

View File

@ -4,14 +4,14 @@
</x-primary-button>
<x-modal name="add-key">
<form wire:submit.prevent="add" class="p-6">
<form wire:submit="add" class="p-6">
<h2 class="text-lg font-medium text-gray-900 dark:text-gray-100">
{{ __('Add new Key') }}
</h2>
<div class="mt-6">
<x-input-label for="name" :value="__('Name')" />
<x-text-input wire:model.defer="name" id="name" name="name" type="text" class="mt-1 w-full" />
<x-text-input wire:model="name" id="name" name="name" type="text" class="mt-1 w-full" />
@error('name')
<x-input-error class="mt-2" :messages="$message" />
@enderror
@ -19,7 +19,7 @@
<div class="mt-6">
<x-input-label for="public_key" :value="__('Public Key')" />
<x-textarea wire:model.defer="public_key" id="public_key" name="public_key" class="mt-1 w-full" rows="5" />
<x-textarea wire:model="public_key" id="public_key" name="public_key" class="mt-1 w-full" rows="5" />
@error('public_key')
<x-input-error class="mt-2" :messages="$message" />
@enderror