public function render()
    {
        // specify a view to render.
        $this->view = $this->views[$this->viewMode];

        list($template, $script) = $this->buildNestedForm($this->column, $this->builder)
            ->getTemplateHtmlAndScript();

        $this->setupScript($script);

        return parent::render()->with([
            'forms' => $this->buildRelatedForms(),
            'template' => $template,
            'relationName' => $this->relationName,
        ]);
    }
public function render()
    {
        // specify a view to render.
        $this->view = $this->views[$this->viewMode];

        list($template, $script) = $this->buildNestedForm($this->column, $this->builder)
            ->getTemplateHtmlAndScript();

        $this->setupScript($script);

        return parent::render()->with([
            'forms' => $this->buildRelatedForms(),
            'template' => $template,
            'relationName' => $this->relationName,
        ]);
    }
public function render ( ) { // specify a view to render. $ this -> view = $ this -> views [ $ this -> viewMode ] ; list ( $ template , $ script ) = $ this -> buildNestedForm ( $ this -> column , $ this -> builder ) -> getTemplateHtmlAndScript ( ) ; $ this -> setupScript ( $ script ) ; return parent :: render ( ) -> with ( [ 'forms' => $ this -> buildRelatedForms ( ) , 'template' => $ template , 'relationName' => $ this -> relationName , ] ) ; }
Render the `HasMany` field.

@throws \Exception

@return \Illuminate\View\View
Render the HasMany field .