Is there is any way to open P-calendar with icon by default

UI Components for Angular
Post Reply
gokuldeva
Posts: 3
Joined: 29 Nov 2022, 07:11

29 Nov 2022, 08:33

Is there is any way to open P-calendar with icon by default PFB,

steps to get images,
1)https://www.primefaces.org/primeng/calendar
2)there will be a icon with calendar textbox.

expected output:-
The calendar should open by default with the icon also.

code:-
<div class="p-field p-col-12 p-md-4">
<label for="icon">Icon</label>
<p-calendar [(ngModel)]="date3" [showIcon]="true" inputId="icon"></p-calendar>
</div>

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 6 guests