I'm currently wasting a lot of time doing a simple thing.
I want to remove the form checker/validator from symfony in a PARTICULAR field.
Adding this eventlistener to the builder work ok:
->addEventListener(
FormEvents::POST_SUBMIT,
function (FormEvent $event) {
$event->stopPropagation();
},
900
)
But it disable the checker for ALL the field, and I only want for one field.
'required' => false
and 'csrf_protection' => false
don't do the trick
Any help thanks.