Answer the question
In order to leave comments, you need to log in
How to catch a space in symfony when saving a form?
In the database, the fields are required to be filled in.
In the form, an empty field does not allow sending.
I put a space and submit the form
. The form successfully passes
isVslid
. correct somewhere to solve this problem, otherwise it turns out that you write rules in the FormType, but they do not work with such a childish error
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question