Primeng: width for calendar component

Created on 30 Aug 2016  路  18Comments  路  Source: primefaces/primeng

Please add the witdh property to inputfield of calendar control to correctly size it forms

Most helpful comment

inputStyle and inputStyleClass can help;

<p-calendar [inputStyle]="{'width':'100px'"} ...

All 18 comments

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?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mitosandov picture mitosandov  路  3Comments

jisqaqov picture jisqaqov  路  3Comments

miresk picture miresk  路  3Comments

Helayxa picture Helayxa  路  3Comments

papiroca-tm picture papiroca-tm  路  3Comments