title: Getting true valid number using asYouType in libphonenumber when its invalid
body: <p>I'm using libphonenumber in react to format and validate phone number (Lebanese number in my case).</p>
  
  <p>The valid mask of the Lebanese phone number is +961 xx xxx xxx
  and that's actually working well in the example given in their demo
   <a href="https://catamphetamine.github.io/libphonenumber-js" rel="nofollow noreferrer">Here</a></p>
  
  <p>so for Lebanon the country code is <code>LB</code> and valid template is <code>xx xxx xxx</code></p>
  
  <p>so for example When the input is <code>+961 71 123 123</code> ==> phone number is actually <code>valid</code> and <code>+961 71 123 12</code> is not</p>
  
  <p>in my case in react the input number is valid once it reaches <code>2</code> as in <code>71 123 12</code> when it supposed to reach <code>3</code></p>
  
  <pre><code>import { AsYouType } from 'libphonenumber-js'
  
  let asYouType = new AsYouType()
  
  asYouType.defaultCountry = 'LB';
  asYouType.reset();
  
  asYouType.input('7112312')
  
  // &lt;&lt;&lt; PROBLEM HERE &gt;&gt;&gt;
  console.log('number is valid ',asYouType.getNumber().isValid()); 
  //output: is valid when it should not be valid 71 123 12 (missing     one number)
  
  
  asYouType.defaultCountry = 'LB';
  asYouType.reset();
  asYouType.input('711231') 
  console.log('number is valid ',asYouType.getNumber().isValid()); 
  // out : false (OK)
  
  asYouType.defaultCountry = 'LB';
  asYouType.reset();
  asYouType.input('71123123') 
  console.log('number is valid ',asYouType.getNumber().isValid()); 
  // out: true (OK)
  </code></pre>