Use floating label with dropdown

Post Reply
Posts: 1
Joined: 20 Mar 2020, 15:39

19 Sep 2020, 17:13

I am unable to use the floating label with the dropdown (
This prevent me to have a consistent view of my form.
Is it a bug? Or a misuse of the dropdown?

Code: Select all

<form [formGroup]="baziFormModel" (ngSubmit)="onSubmit()" >
            <div class="ui-g-12 ui-md-12">
            <span class="md-inputfield">
              <input id="name" pInputText type="text" formControlName="name">
              <label for="name">Nom et Prénom</label>

            <div class="ui-g-12 ui-md-12">
              <span class="md-inputfield">
                <p-dropdown id="genre" [options]="genders" formControlName="gender"></p-dropdown>

Posts: 4345
Joined: 29 Jun 2013, 12:38

10 Oct 2020, 03:03


Sorry for the delayed response! Please see our demo page;

Best Regards,

Post Reply

Return to “Barcelona - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest