fix: remove restrictions on postage stamp label (#354)

This commit is contained in:
Vojtech Simetka
2022-04-29 16:42:01 +05:00
committed by GitHub
parent 87b0b71cc6
commit b6b9914548
@@ -113,9 +113,6 @@ export function PostageStampCreation({ onFinished }: Props): ReactElement {
else if (amount.isLessThanOrEqualTo(0)) errors.amount = 'Amount must be greater than 0'
}
// Label
if (values.label && !/^[0-9a-z]*$/i.test(values.label)) errors.label = 'Label must be an alphanumeric string'
return errors
}}
>