I am posting again this here because previous post was included in Ultima - Primefaces, still unanswered. (http://forum.primefaces.org/viewtopic.php?f=42&t=47629)
I saw that p-calendar and p-autocomplete label animation works as expected in 1.0.3 but still can't make it work in p-dropdown. Label is fixed and partially overwrite first option.
For instance, in this case label
Code: Select all
<div class="ui-g-6 ui-md-6">
<span class="md-inputfield">
<p-dropdown [options]="cities" formControlName="ciudad"></p-dropdown>
<label>City</label>
</span>
</div>
Code: Select all
this.cities = [];
this.cities.push({ label: 'New York', value: { id: 1, name: 'New York', code: 'NY' } });
this.cities.push({ label: 'Rome', value: { id: 2, name: 'Rome', code: 'RM' } });
this.cities.push({ label: 'London', value: { id: 3, name: 'London', code: 'LDN' } });
this.cities.push({ label: 'Istanbul', value: { id: 4, name: 'Istanbul', code: 'IST' } });
this.cities.push({ label: 'Paris', value: { id: 5, name: 'Paris', code: 'PRS' } });
Regards,
Diego.