K
K
Konstantin Zhikhor2019-03-16 18:18:52
symfony
Konstantin Zhikhor, 2019-03-16 18:18:52

How to bind forms and save them in Symfony 4?

I have two models with a one to one relationship.
Users
https://github.com/Kshevchenko94/app_symfony.ru/bl...
Contacts
https://github.com/Kshevchenko94/app_symfony.ru/bl...
this is how I link forms
https://github.com/ Kshevchenko94/app_symfony.ru/bl...
I display the form and
{{ form_row(registrationForm.contacts_user. vk) }}
get an error
5c8e4675d10c0084330249.jpeg
Please tell me how can I link these forms and save and update them?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
postgresdev, 2019-09-05
@postgresdev

https://symfony.com/doc/current/form/embedded.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question