Closed SquareInnov closed 1 year ago
Since Symfony 6 the allowEmptyString option from the Length constraint war remove.
Currently, if you try to edit a product, you will see this error :
The options "allowEmptyString" do not exist in constraint "Symfony\Component\Validator\Constraints\Length".
Maybe this can help to close this issue :
Before:
use Symfony\Component\Validator\Constraints as Assert;
/**
Since Symfony 6 the allowEmptyString option from the Length constraint war remove.
Currently, if you try to edit a product, you will see this error :
Maybe this can help to close this issue :
Before:
use Symfony\Component\Validator\Constraints as Assert;
/**
use Symfony\Component\Validator\Constraints as Assert;
/**