Code: Select all
<p-dropdown
[options]="optionsArray"
[filter]="true"
[baseZIndex]="10008"
id="txt1"
maxlength="10"
[style]="{'minWidth':'50px', 'width': '50px'}"
styleClass='dropdownClass'>
</p-dropdown>
I've tested to put it in div, and modify div with width style, but doesn't work.