'nullable', 'application.description' => 'nullable', 'application.fqdn' => 'nullable', ]; public function render() { return view('livewire.project.service.application'); } public function refreshFileStorages() { $this->fileStorages = $this->application->fileStorages()->get(); } public function mount() { $this->refreshFileStorages(); } public function submit() { try { $this->validate(); $this->application->save(); $this->emit('success', 'Application saved successfully.'); } catch (\Throwable $e) { ray($e); } finally { $this->emit('generateDockerCompose'); } } }