fix: instant save build pack change

This commit is contained in:
Andras Bacsai 2023-10-11 12:12:25 +02:00
parent 5a4c9422b2
commit 5b74fd34f5
2 changed files with 4 additions and 1 deletions

View File

@ -76,6 +76,9 @@ class General extends Component
]; ];
public function updatedApplicationBuildPack(){
$this->submit();
}
public function instantSave() public function instantSave()
{ {
// @TODO: find another way - if possible // @TODO: find another way - if possible

View File

@ -21,7 +21,7 @@
@if (!$application->dockerfile) @if (!$application->dockerfile)
<div class="flex flex-col gap-2"> <div class="flex flex-col gap-2">
<div class="flex gap-2"> <div class="flex gap-2">
<x-forms.select id="application.build_pack" label="Build Pack" required> <x-forms.select wire:model="application.build_pack" label="Build Pack" required>
<option value="nixpacks">Nixpacks</option> <option value="nixpacks">Nixpacks</option>
<option value="dockerfile">Dockerfile</option> <option value="dockerfile">Dockerfile</option>
<option value="dockerimage">Docker Image</option> <option value="dockerimage">Docker Image</option>