Skip to content

Commit

Permalink
Merge pull request EC-CUBE#5774 from LeTanNghia/issue/5709
Browse files Browse the repository at this point in the history
商品登録画面のフリーエリアにて発生するシステムエラーの修正
  • Loading branch information
shinya authored Jun 1, 2023
2 parents 9a7ece6 + 94edb59 commit a4325a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Eccube/Form/Type/Admin/DeliveryType.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ public function buildForm(FormBuilderInterface $builder, array $options)
])
->add('description', TextareaType::class, [
'required' => false,
'constraints' => [
new Assert\Length(['max' => $this->eccubeConfig['eccube_ltext_len']]),
],
])
->add('confirm_url', TextType::class, [
'required' => false,
Expand Down
1 change: 1 addition & 0 deletions src/Eccube/Form/Type/Admin/ProductType.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ public function buildForm(FormBuilderInterface $builder, array $options)
'required' => false,
'constraints' => [
new TwigLint(),
new Assert\Length(['max' => $this->eccubeConfig['eccube_lltext_len']]),
],
])

Expand Down

0 comments on commit a4325a7

Please sign in to comment.