Revert "[ACS-4307] Label is not persistent as placeholder is being used as the only visual label for a text field (#8213)" (#8220)

This reverts commit a720edd2cf.
This commit is contained in:
Jatin Chugh
2023-02-01 16:16:50 +05:30
committed by GitHub
parent ca49693bd6
commit afb22bbc02
2 changed files with 1 additions and 5 deletions

View File

@@ -260,9 +260,7 @@
"FROM": "From",
"TO": "To",
"FROM-DATE": "From",
"TO-DATE": "To",
"SELECT-FROM-DATE": "Select From Date",
"SELECT-TO-DATE": "Select To Date"
"TO-DATE": "To"
},
"VALIDATION": {
"REQUIRED-VALUE": "Required value",

View File

@@ -1,6 +1,5 @@
<form [formGroup]="form" novalidate (ngSubmit)="apply(form.value, form.valid)">
<mat-form-field>
<mat-label>{{ 'SEARCH.FILTER.RANGE.SELECT-FROM-DATE' | translate }}</mat-label>
<input matInput
(input)="forcePlaceholder($event)"
[formControl]="from"
@@ -19,7 +18,6 @@
</mat-form-field>
<mat-form-field>
<mat-label>{{ 'SEARCH.FILTER.RANGE.SELECT-TO-DATE' | translate }}</mat-label>
<input matInput
(input)="forcePlaceholder($event)"
[formControl]="to"