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