BasketMC
BasketMC
FFilament
Created by BasketMC on 1/26/2024 in #❓┊help
Relationship Repeater in EditRecord saves before beforeSave?
Ok, I found a workaround, in the ->beforeValidate() method, if I manually call the $this->form->validate() method then I can ensure that the validation will pass. It feels a little awkward, but fine for now 🙂
protected function beforeValidate(): void
{
$this->form->validate();
//My grouping code
}
protected function beforeValidate(): void
{
$this->form->validate();
//My grouping code
}
5 replies
FFilament
Created by BasketMC on 1/26/2024 in #❓┊help
Relationship Repeater in EditRecord saves before beforeSave?
Interesting idea… I’ll give that a try, thanks!
5 replies