You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See http://symfony.com/doc/current/book/forms.html for more information.
164
164
## BelongsToMany relations
165
165
166
-
BelongsToMany behaves differently, because it isn't an actual attribute on your model. Instead, we can use the custom `belongs_to_many` type to fill the Form and sync it manually.
166
+
BelongsToMany behaves differently, because it isn't an actual attribute on your model. Instead, we can set the `mapped` option to `false` and sync it manually.
167
167
168
168
```php
169
+
use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
0 commit comments