So, I\'m still REALLY new to symfony but i\'m learning quickly... I created an entity and a crud (i forget how I did it actually but it was via the command line)..
I've just been looking for the solution, and wasn't happy with the accepted solution.
[Edit: though I now know it's because I was using annotation].
The way I've found that works for me is setting nullable: