From 052190c69b8ed8f19795dfb1fafa3c049062c80a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sat, 4 Jan 2025 18:40:18 +0100 Subject: [PATCH] Do not trim user_barcode for partLots --- src/Form/Part/PartLotType.php | 2 ++ 1 file changed, 2 insertions(+) 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, ]); }