We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I post this json with angularjs
{ "name":"mason inc" "status": { "id": 1 "name": "Enable" } }
My form is:
$builder ->add('name') ->add('status', 'voryx_entity', array( 'class' => 'AppBundle\Entity\Status', ) ) ;
And Response is:
{ "errors":{ "form":{ "children":{ "name":{ }, "status":{ "errors":[ "The selected entity does not exist" ] } } }, "errors":[ ] } }
What is the error ?, because DataTransformer provide in line 55
if (is_array($data) && isset($data['id'])) { return $data['id']; }
Symfony version: 2.8.6 and de entity 1 exists in the data base.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I post this json with angularjs
My form is:
And Response is:
What is the error ?, because DataTransformer provide in line 55
Symfony version: 2.8.6 and de entity 1 exists in the data base.
The text was updated successfully, but these errors were encountered: