Scan barcode overlapping text field

Hello, I posted in UX regarding a problem with barcode icon overlapping the text field


I followed the suggestion to change type to longtext but unfortunately is not a scannable type, how we can fix this ux ugly appearance ?