Skip to content

Commit

Permalink
FRW-8773 Fixed new address creating for companies (#2549)
Browse files Browse the repository at this point in the history
CC-34128 Fixed the creation of new addresses for companies.
  • Loading branch information
olhalivitchuk authored Nov 4, 2024
1 parent cb9314a commit 6575d07
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

/**
* @method \SprykerShop\Yves\CompanyPage\CompanyPageConfig getConfig()
* @method \SprykerShop\Yves\CompanyPage\CompanyPageFactory getFactory()
*/
class CompanyUnitAddressForm extends AbstractType
{
Expand Down Expand Up @@ -155,6 +156,7 @@ protected function addFkCompanyField(FormBuilderInterface $builder, array $optio
'required' => true,
'constraints' => [
$this->createNotBlankConstraint(),
$this->getFactory()->createCompanyUserRelationConstraint(),
],
]);

Expand Down

0 comments on commit 6575d07

Please sign in to comment.