Skip to content

Commit

Permalink
Merge pull request #3473 from ita-social-projects/bugfix/#7837-email-…
Browse files Browse the repository at this point in the history
…underscore

[Bugfix] #7837, #7838 typing the email with an underscore gave error
  • Loading branch information
hnativlyubomyr authored Dec 2, 2024
2 parents 1aaabc8 + 259c42b commit 8cf331a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
@import '../ubs-admin-tariffs-location-pop-up/ubs-admin-tariffs-location-pop-up.component';

::ng-deep {
#region-name,
#courierName {
.mat-mdc-select-arrow {
display: none;
}
}
}

.english-part {
width: 248px;
font-weight: 400;
Expand Down
4 changes: 2 additions & 2 deletions src/assets/patterns/patterns.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ export const Patterns = {
orderEcoStorePattern: /^\d{1,8}$/,

// prettier-ignore
ubsMailPattern:
/^[a-zA-Z0-9.%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6}$/,
ubsMailPattern:
/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6}$/,
paymentAmountPattern: '^[0-9]+(.[0-9]{1,2})?$',
certificateMonthCount: '^[0-9]{1,2}$',
certificateInitialValue: '^[0-9]{1,4}$',
Expand Down

0 comments on commit 8cf331a

Please sign in to comment.