New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nested collection fields #3583
Comments
I think your problem is caused by not having created the method public function __toString() in your entity. |
All my entities have a __toString() function ... . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm having problems creating my form for creating a course. This is a part of my database scheme for which I'm trying to create a form:
So which I'm trying to do is create a course where I can create sessions and dates attached to that session. It should look something like this:
In my CourseAdmin class I have:
In my SessionAdmin class I have:
And in my MomentAdmin class I have:
The problem in my form is when I try to add a date to my session I get the following error:
So, I can add a session but when I try to add a date to my session I'm getting the error ... .
The function causing the error is the following:
And the rule that's causing the error is :
$fieldDescription = $admin->getFormFieldDescription($childFormBuilder->getName());
The text was updated successfully, but these errors were encountered: