title: Vue.js v-validate get value from model
body: <p>How can one pass value from model to v-validate (VeeValidate) directive.</p>
  
  <pre><code> v-validate="'required|unique-email:model.Email'"
  </code></pre>
  
  <p>Obviously, i would like to replace <code>model.Email</code> with variable from <code>data</code>.</p>
  
  <p>Here's validate code</p>
  
  <pre><code>VeeValidate.Validator.extend('unique-email', {
      messages: {
          en: (field, args) =&gt; {
              return "Email Taken";
          }
      },
      validate: (value, args) =&gt; {
          return profileService.emailTaken(value).then((response) =&gt; {
              console.log(args); &lt;-- i need email model in here,
              var emailTaken = response.data;
              return new Promise(resolve =&gt; {
                  resolve({
                      valid: !emailTaken
                      //data: value !== 'trigger' ? undefined : { message: 'Not this value' }
                  });
              });
          });
      }
  });
  </code></pre>