mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
Label is not persistent as placeholder is being used as the only visual label for a text field (#8221)
This commit is contained in:
parent
4043d55fc4
commit
e8a3d109d4
@ -260,7 +260,9 @@
|
|||||||
"FROM": "From",
|
"FROM": "From",
|
||||||
"TO": "To",
|
"TO": "To",
|
||||||
"FROM-DATE": "From",
|
"FROM-DATE": "From",
|
||||||
"TO-DATE": "To"
|
"TO-DATE": "To",
|
||||||
|
"SELECT-FROM-DATE": "Select From Date",
|
||||||
|
"SELECT-TO-DATE": "Select To Date"
|
||||||
},
|
},
|
||||||
"VALIDATION": {
|
"VALIDATION": {
|
||||||
"REQUIRED-VALUE": "Required value",
|
"REQUIRED-VALUE": "Required value",
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
<form [formGroup]="form" novalidate (ngSubmit)="apply(form.value, form.valid)">
|
<form [formGroup]="form" novalidate (ngSubmit)="apply(form.value, form.valid)">
|
||||||
<mat-form-field>
|
<mat-form-field>
|
||||||
|
<mat-label>{{ 'SEARCH.FILTER.RANGE.SELECT-FROM-DATE' | translate }}</mat-label>
|
||||||
<input matInput
|
<input matInput
|
||||||
(input)="forcePlaceholder($event)"
|
(input)="forcePlaceholder($event)"
|
||||||
[formControl]="from"
|
[formControl]="from"
|
||||||
@ -18,6 +19,7 @@
|
|||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
|
|
||||||
<mat-form-field>
|
<mat-form-field>
|
||||||
|
<mat-label>{{ 'SEARCH.FILTER.RANGE.SELECT-TO-DATE' | translate }}</mat-label>
|
||||||
<input matInput
|
<input matInput
|
||||||
(input)="forcePlaceholder($event)"
|
(input)="forcePlaceholder($event)"
|
||||||
[formControl]="to"
|
[formControl]="to"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user