Relationship repeater not working
I'm creating a form where the users create a new
This model has many
So a person can fill the form with multiple tutors (repeater) for a player.
if in the form i put this line, i get the error (see image), otherwise i dont get the error but the items in the repeater are ignored and not saved into the db.
other stuff i already do:
in mount method:
i also defined the fn:
and in the save method i call save relationships:
i am missing something? what is happening? ive been strugling for quite a time now... hours
PlayerPreinscription model.This model has many
PlayerTutorPreinscription:So a person can fill the form with multiple tutors (repeater) for a player.
if in the form i put this line, i get the error (see image), otherwise i dont get the error but the items in the repeater are ignored and not saved into the db.
->relationship('tutors')other stuff i already do:
in mount method:
$this->playerPreinscription = new PlayerPreinscription;i also defined the fn:
and in the save method i call save relationships:
i am missing something? what is happening? ive been strugling for quite a time now... hours
