identifier = $identifier; $this->identifierValue = $identifierValue; $this->editData = $editData; $this->form = Form::where($this->identifier,$this->identifierValue)->first(); $this->formData = @$this->form->form_data ?? []; } /** * Get the view / contents that represent the component. * * @return \Illuminate\Contracts\View\View|\Closure|string */ public function render() { return view('components.viser-form'); } }