gmaps.js is a great library but it returns latitude and longitude successfully even for an incomplete / wrong address.
Example in the image below I searched for 1111 address and it could still find some 1111 somewhere in the world.
I am using gmaps.js on my site for getting address from the user and I am relying on gmaps to return lat and log for a valid address.
How do I make sure gmaps.js only returns lat and log when complete address is searched by the user?