How to see a log and values inside Console?

I have set Geo Autocomplete but locality and country are unknown inside application.

      document.getElementById('postal_code').value = postcode;
      document.getElementById('locality').value = locality;
      document.getElementById('country').value = country;
      document.getElementById('route').value = route;    
      document.getElementById('lat').value = near_place.geometry.location.lat();
      document.getElementById('lng').value = near_place.geometry.location.lng();

Need help how to set log code. As there is any error, I try to see it inside a logcat.


console.log('component is ' + component)
       const componentType = component.types[0];
console.log('componentType is ' + componentType)

If you use google chrome try to see if it is in the console in inspect. I am not sure.

I havw managed.Thank you for the message.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.