fix: remove restrictions on postage stamp label (#354)
This commit is contained in:
@@ -113,9 +113,6 @@ export function PostageStampCreation({ onFinished }: Props): ReactElement {
|
|||||||
else if (amount.isLessThanOrEqualTo(0)) errors.amount = 'Amount must be greater than 0'
|
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
|
return errors
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user