primeng
primeng copied to clipboard
Calendar locale binding?
Calendar is not changing locale then locale is changed. Initial locale is loading ok.
<p-calendar [(ngModel)]="selectedDate" [locale]="locale" showAnim="slideDown" [showIcon]="true"></p-calendar>
this.locale=this.localizations[this.appConfig.language.toLowerCase()]; //THIS WORKS
this.appConfig.languageObservable.subscribe((lang:string) => {
this.locale=this.localizations[lang.toLowerCase()]; //THIS EVENT WORKS, BUT CALENDAR DONT GET UPDATED
});
I have the same issue. Any update on this issue?
@davidgfolch did you find any workaround for this issue?
Same here! :+1:
I have the same issue!
I've got the same problem...
Fixed in 4.0.0-RC2.