Persist data via relationship manager Create & Create Again

On a normal page form I can persist data for auto-filling in repetitive fields by flashing the session on save like:
public function createAnother(): void
{
session()->flash('dataFill', $this->data);
parent::createAnother();
}
public function createAnother(): void
{
session()->flash('dataFill', $this->data);
parent::createAnother();
}
Now I need to do this with the Relationship Manager. When attaching records how can I access the save and save another action to flash the session?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server