title: Use props inside method in vue.js
body: <p>I have props like below</p>
  
  <pre><code>props: ['applicants',],
  </code></pre>
  
  <p>I would like to use <code>props</code> like below</p>
  
  <pre><code>  methods : {
              formated (item) {
                  var _self = this;                
                  _self.values.length = 0;
                  if(item == "") {
                     console.log(this.applicants); //I am getting output here
                     _self.values = this.applicants 
                  }
                  else {
                    console.log(this.applicants);  //I am not getting output here
                    this.applicants.filter(applicant =&gt; { }) 
                  }
              }
     }
  </code></pre>
  
  <p>Why it is happening like this?</p>