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

@ -3,10 +3,10 @@
<x-slot name="description">{{ __("You can change the source control provider for this site") }}</x-slot>
<form id="update-source-control" wire:submit.prevent="update" class="space-y-6">
<form id="update-source-control" wire:submit="update" class="space-y-6">
<div>
<x-input-label for="provider" :value="__('Source Control')" />
<x-select-input wire:model.defer="source_control" id="source_control" name="source_control" class="mt-1 w-full">
<x-select-input wire:model="source_control" id="source_control" name="source_control" class="mt-1 w-full">
<option value="" selected>{{ __("Select") }}</option>
@foreach(\App\Models\SourceControl::all() as $sourceControl)
<option value="{{ $sourceControl->id }}" @if($sourceControl->id === $source_control) selected @endif>{{ $sourceControl->profile }} ({{ $sourceControl->provider }})</option>