From b9c6d2b8fce57b396113ec95964bdf3debedcb30 Mon Sep 17 00:00:00 2001 From: Anastasia <155824290+kryzanivska-nastya@users.noreply.github.com> Date: Fri, 29 Nov 2024 14:25:56 +0200 Subject: [PATCH] fix --- .../ubs-admin-tariffs-card-pop-up.component.scss | 8 ++++++++ src/assets/patterns/patterns.ts | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/app/ubs/ubs-admin/components/ubs-admin-tariffs/ubs-admin-tariffs-card-pop-up/ubs-admin-tariffs-card-pop-up.component.scss b/src/app/ubs/ubs-admin/components/ubs-admin-tariffs/ubs-admin-tariffs-card-pop-up/ubs-admin-tariffs-card-pop-up.component.scss index 141b882ef5..e78855640e 100644 --- a/src/app/ubs/ubs-admin/components/ubs-admin-tariffs/ubs-admin-tariffs-card-pop-up/ubs-admin-tariffs-card-pop-up.component.scss +++ b/src/app/ubs/ubs-admin/components/ubs-admin-tariffs/ubs-admin-tariffs-card-pop-up/ubs-admin-tariffs-card-pop-up.component.scss @@ -1,4 +1,12 @@ @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; diff --git a/src/assets/patterns/patterns.ts b/src/assets/patterns/patterns.ts index 6fc350f7d2..5d58c00947 100644 --- a/src/assets/patterns/patterns.ts +++ b/src/assets/patterns/patterns.ts @@ -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}$',