#Create new model collection issue, trying to follow livewire tutorial

1 messages · Page 1 of 1 (latest)

quiet heart
#
public function create()
    {
        $this->editing = $this->makeBlankCaseStudy();

        dd($this->editing);

        $this->showModal = true;
    }

public function makeBlankCaseStudy()
    {
        return CaseStudy::make([
               'published_at' => now(), 
               'is_published' => 1
         ]);
    }
#

When I dd I get this, and i am not seeing any attributes being added

#

Laravel does wasn't very helpful