Please add the witdh property to inputfield of calendar control to correctly size it forms
Yeah, I have problems setting it's width, too :(
+1. I have a solution for global component width settings, but that is not desired.
+1
inputStyle and inputStyleClass can help;
<p-calendar [inputStyle]="{'width':'100px'"} ...
if you want to use percentage,
Using PrimeNG version 5.2.6, I ended up needing only:
Using [inputStyle]="{'width':'100px'}" on p-calendar worked for me.
input style , style class is not working for me
at some threshold size it's forcestopping to reduce
is thare any possible to change p-calender size
i want to change calender not input field
How do I change the calendar width? not the input field width.
how to change calendar size? it's to big..
any solutions ?
Probably you are using appendTo="body", unless it was my case.
It's change the context of monthpicker. To fix, I used a div in appendTo.
No solution?
Anyone has a solution yet?
Most helpful comment
inputStyle and inputStyleClass can help;