diff --git a/src/Form/Part/PartLotType.php b/src/Form/Part/PartLotType.php index 785810a6..7d545340 100644 --- a/src/Form/Part/PartLotType.php +++ b/src/Form/Part/PartLotType.php @@ -107,6 +107,8 @@ class PartLotType extends AbstractType 'label' => 'part_lot.edit.user_barcode', 'help' => 'part_lot.edit.vendor_barcode.help', 'required' => false, + //Do not remove whitespace chars on the beginning and end of the string + 'trim' => false, ]); }