How to display the fallowing code display dd/mm/yyyy formats and background color changed and selcted date also changed.
<input type=”text” class=”form-control ” id=”validationCustomUsername” style=”border-radius: 10px;”
[matDatepicker]=”picker1″ (click)=”picker1.open()” readonly aria-describedby=”inputGroupPrepend”
[(ngModel)]=”starWithDate”
[ngStyle]=”{‘background-color’: ‘#222222′ ,’color’: ‘white’,’border-left’:’1px solid #9696961A’ }”
style=”height: 30px;border: 0;position: relative;left: -1px;” required>
<span class=”input-group-text” id=”inputGroupPrepend” (click)=”picker1.open()” style=”height: 30px;”
[ngStyle]=”{
‘background-color’: ‘#222222′ ,
color:’white’,
‘border’: ‘0px solid #222222’
}”>
<mat-datepicker #picker1>