Skip to content

Commit bfe8517

Browse files
author
Sharma
committed
Fixed DateTime formatting and RadioButton styling issues
1 parent 6db83a1 commit bfe8517

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

packages/angular-sdk-components/src/lib/_components/field/radio-buttons/radio-buttons.component.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@
88
<ng-template #noDisplayMode>
99
<div [formGroup]="formGroup$" *ngIf="bVisible$">
1010
<mat-form-field class="psdk-radio-form" subscriptSizing="dynamic" [hintLabel]="helperText">
11-
<span class="psdk-label-wrapper-readonly">
12-
<mat-label class="psdk-label-readonly">{{ label$ }}</mat-label>
13-
</span>
11+
<mat-label>{{ label$ }}</mat-label>
1412
<input matInput [placeholder]="placeholder" style="display: none" [required]="bRequired$" />
1513
<mat-radio-group
1614
[value]="value$"

packages/angular-sdk-components/src/lib/_components/field/text/text.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export class TextComponent implements OnInit, OnDestroy {
138138
// day: 'numeric'
139139
// }).format(new Date(sVal + "T00:00"));
140140

141-
return this.utils.generateDate(sVal, 'Date-Long-Custom-DD/MM/YYYY');
141+
return this.utils.generateDate(sVal, 'Date-Long-Custom-YYYY');
142142
}
143143

144144
generateDateTime(sVal): string {

0 commit comments

Comments
 (0)