I've tried to implement dropdown component using your material style for labels above inputs. It works for other components, it works for dropdown too but not fully. Problem is, when i first load that page. For example when i login, it shows initial value for dropdown and it shows label inside. Once i click, it works. Next time i navigate to that same page, it works fine.
Code: Select all
<span class="md-inputfield">
<p-dropdown filter="true" placeholder="***" [options]="***"
optionLabel="***" (onClear)="onClear('***')" formControlName="***"
[showClear]="true">
</p-dropdown>
<label>Carinska ispostava</label>
</span>
Predrag Crnogorac