How to get input value after google maps autocomplete?

How to get input value after google maps autocomplete?

error code: 523