I\'m trying to build app based on REST api ang AngularJS. I\'ve been following this tutorial http://npmasters.com/2012/11/25/Symfony2-Rest-FOSRestBundle.html but have to cha
Working in Symfony 4/5 in CustomFormType
public function configureOptions(OptionsResolver $resolver) { $resolver->setDefaults([ 'data_class' => CustomFormType::class, 'allow_extra_fields' => true // <<<<<<<<<<<<<<<<<<<<< ]); }