Column not found in symfony mapped - Hack The Tech - Latest News related to Computer and Technology

Hack The Tech - Latest News related to Computer and Technology

Get Daily Latest News related to Computer and Technology and hack the world.

Monday, May 1, 2023

Column not found in symfony mapped

public function buildForm(FormBuilderInterface $builder, array $options): void { $builder

        ->add(child: 'Title')
        ->add('Image', FileType::class, [
            'mapped' => false
        ])

        ->add('save', SubmitType::class, [
            'attr' => [
               
            ]
        ]);
}

As shown above i have stetted the value of mapped to false.But symfony is giving me an error column not found

Trying to add mapped false and i was expecting the field to not be linked to databases



source https://stackoverflow.com/questions/76143062/column-not-found-in-symfony-mapped

No comments:

Post a Comment