Validate that a parts name fullfills the regular expression set in a category

This commit is contained in:
Jan Böhmer 2023-01-28 21:36:19 +01:00
parent 58105575d3
commit 22950f2476
5 changed files with 40 additions and 1 deletions

View file

@ -76,6 +76,7 @@ class CategoryAdminForm extends BaseEntityAdminForm
'required' => false,
'empty_data' => '',
'label' => 'category.edit.partname_regex',
'help' => 'category.edit.partname_regex.help',
'attr' => [
'placeholder' => 'category.edit.partname_regex.placeholder',
],