'required', 'service.docker_compose' => 'required', ]; public function render() { return view('livewire.project.service.compose-modal'); } public function submit() { $this->emit('warning', "Saving new docker compose..."); $this->emit('saveCompose', $this->service->docker_compose_raw); } }