title: How to set default value for PrimeNG p-dropdown
body: <p>I am using PrimeNG in my angular5 app. I have issue with p-dropdown</p>
  <p><strong>Question</strong></p>
  <p>I have p-dropdown for showing countries. I bind the select options correctly there it works fine (this data coming from api), but I need to set default selected option for this p-dropdown as &quot;India&quot;.</p>
  <p>I set up ng-model value as India but it didn't work.</p>
  <p>my dummy.component.html code</p>
  <pre class="lang-html prettyprint-override"><code>&lt;div class=&quot;form-group col-md-2&quot;&gt;
      &lt;div&gt;
          &lt;label for=&quot;inputEmail4&quot;&gt; Select Country&lt;/label&gt;
          &lt;span style=&quot;color:red&quot;&gt;*&lt;/span&gt;
      &lt;/div&gt;
      &lt;p-dropdown name=&quot;country&quot; [options]=&quot;countries&quot; [(ngModel)]=&quot;applicant.country&quot; placeholder=&quot;select country&quot;
              (onChange)=&quot;getStatebyCountry(applicant.country,$event)&quot; #country=&quot;ngModel&quot; required&gt;
      &lt;/p-dropdown&gt;
      &lt;span *ngIf=&quot;country.invalid &amp;&amp; (country.dirty || country.touched)&quot;&gt;
          &lt;span [hidden]=&quot;!country.hasError('required')&quot; style=&quot;color:#ffa500&quot;&gt;country is mandatory&lt;/span&gt;
      &lt;/span&gt;
  &lt;/div&gt;
  </code></pre>
  <p>my dummy.component.ts</p>
  <pre class="lang-js prettyprint-override"><code>export class dummyComponent implements OnInit {
      //variable declaration scope for all controller function
      applicant: any = {};
  
      country: string; constructor() { }
  
      ngOnInit() {
          this.applicant.country = 'India';
      } 
      this.countries = [];
      // this.countries.push({ label: 'Select Country', value: '' });
      //getallcountries
      this.UserService.getallcountries().subscribe(result =&gt; {
      console.log(&quot;countries&quot; + result);
      this.cnt = result;
      for (let i = 0; i &lt;= this.cnt.length; i++) {
          if (this.cnt[i].id === 1) {
              this.countries.push({ label: this.cnt[i].name, value: this.cnt[i].id });
          }
      }
  });
  </code></pre>