I'm using an <p:autoComplete> component inside a md-inputfield. The effect of the placeholder is working, but the size of the component doesn't.
It's always getting the same size (2 columns), regardless of how many columns I put into the component.
Code: Select all
<div class="ui-grid-col-5">
<h:panelGroup styleClass="md-inputfield">
<p:autoComplete id="acCity" value="#{empMB.city}" completeMethod="#{cityMB.complete}"
forceSelection="false" queryDelay="1" style="width: 100%;" maxResults="10""/>
<label>City</label>
</h:panelGroup>
</div>