Skip to content

Commit

Permalink
added id for the dialog components
Browse files Browse the repository at this point in the history
Signed-off-by: GOKULRAJ136 <[email protected]>
  • Loading branch information
GOKULRAJ136 committed Jan 29, 2024
1 parent 2d761b0 commit 2cba7e2
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ <h2 class="filter-heading">{{ "filters.titleTxt" | translate }}</h2>
matInput
placeholder="{{ filter.filterlabel[primaryLangCode] }}"
formControlName="{{ filter.filtername }}"
id="{{filter.filtername}}"
(focus)="
getControlName(
filter,
Expand All @@ -28,7 +29,7 @@ <h2 class="filter-heading">{{ "filters.titleTxt" | translate }}</h2>
"
[matAutocomplete]="auto"
/>
<mat-autocomplete #auto="matAutocomplete">
<mat-autocomplete #auto="matAutocomplete" id="{{filter.filtername}}">
<mat-option
*ngIf="filterOptions[filter.filtername]?.length === 0"
>
Expand All @@ -53,6 +54,7 @@ <h2 class="filter-heading">{{ "filters.titleTxt" | translate }}</h2>
[matDatepicker]="picker"
placeholder="{{ filter.filterlabel[primaryLangCode] }}"
formControlName="{{ filter.filtername }}"
id="{{filter.filtername}}"
(focus)="
getControlName(
filter,
Expand All @@ -72,6 +74,7 @@ <h2 class="filter-heading">{{ "filters.titleTxt" | translate }}</h2>
matInput
placeholder="{{ filter.filterlabel[primaryLangCode] }}"
formControlName="{{ filter.filtername }}"
id="{{filter.filtername}}"
(focus)="
getControlName(
filter,
Expand All @@ -95,6 +98,7 @@ <h2 class="filter-heading">{{ "filters.titleTxt" | translate }}</h2>
<mat-label>{{ filter.filterlabel[primaryLangCode] }}</mat-label>
<mat-select
formControlName="{{ filter.filtername }}"
id="{{filter.filtername}}"
(focus)="
getControlName(
filter,
Expand Down Expand Up @@ -133,6 +137,7 @@ <h2 class="filter-heading">{{ "filters.titleTxt" | translate }}</h2>
mat-button
class="footer-button"
style="color: #FF4081; border: inherit"
id="reset"
>
<img
src="assets/images/refresh.png"
Expand All @@ -144,6 +149,7 @@ <h2 class="filter-heading">{{ "filters.titleTxt" | translate }}</h2>
class="footer-button"
(click)="onNoClick()"
style="color: #FF4081; background-color: white;"
id="cancel"
>
{{ "filters.footerButtons.cancelTxt" | translate }}
</button>
Expand All @@ -152,6 +158,7 @@ <h2 class="filter-heading">{{ "filters.titleTxt" | translate }}</h2>
mat-button
class="footer-button"
style="background-color:#FF4081; color:white;"
id="applyTxt"
>
{{ "filters.footerButtons.applyTxt" | translate }}
</button>
Expand Down Expand Up @@ -180,6 +187,7 @@ <h2 class="filter-heading">{{ "filters.titleTxt" | translate }}</h2>
mat-button
[mat-dialog-close]="confirm"
cdkFocusInitial
id="confirmpopup"
>
{{ input.yesBtnTxt }}
</button></span
Expand All @@ -197,7 +205,7 @@ <h2 class="filter-heading">{{ "filters.titleTxt" | translate }}</h2>
</div>
<div mat-dialog-actions class="pop-up-footer">
<span
><button mat-button cdkFocusInitial (click)="dismiss()">
><button mat-button cdkFocusInitial (click)="dismiss()" id="confirmmessagepopup">
{{ input.btnTxt }}
</button></span
>
Expand Down

0 comments on commit 2cba7e2

Please sign in to comment.