After diving into PrimeNG, I diligently followed the instructions on their documentation to get everything set up. However, my UI ended up looking quite odd, similar to the image below. Does anyone have any insight as to why this might be happening?
Here are some key pieces of code:
TS
import {CalendarModule} from 'primeng/primeng';
imports: [
BrowserModule,
FormsModule,
HttpModule,
routing,
CalendarModule],
HTML
<p-calendar [(ngModel)]="startDate" [showIcon]="true" name="startDate"></p-calendar> <span style="margin-left:35px"></span>
On another note, can anyone provide guidance on how to apply one of the themes showcased on the PrimeNG website? I tried locating the code for the free themes but was unsuccessful. Thank you in advance for your assistance.
Calendar UI reference: