diff --git a/src/Entity/CustomerVehicle.php b/src/Entity/CustomerVehicle.php index 75cd76d1..dc195b8a 100644 --- a/src/Entity/CustomerVehicle.php +++ b/src/Entity/CustomerVehicle.php @@ -23,8 +23,7 @@ class CustomerVehicle // user-defined name for vehicle /** - * @ORM\Column(type="string", length=80) - * @Assert\NotBlank() + * @ORM\Column(type="string", length=80, nullable=true) */ protected $name; diff --git a/templates/customer/form.html.twig b/templates/customer/form.html.twig index 8e916d07..15616462 100644 --- a/templates/customer/form.html.twig +++ b/templates/customer/form.html.twig @@ -151,7 +151,7 @@