question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Get data from input

See original GitHub issue

How can i get the result selected by the user?

im doing this but is not working:

        <GooglePlacesAutocomplete
               onSelect={ data => {
                console.log(data)
              }}

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
bryanteecommented, Sep 20, 2020

Sorry @Tintef saw your comment and hadn’t had a chance to go back and investigate. Dropped back to v2.x as we had in our existing project in the meantime.

If I have anytime over the next week to get back into it I’ll be sure to post back here.

0reactions
Tintefcommented, Sep 19, 2020

Closing this one as it seems everything has been solved.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I get the value of text input field using JavaScript?
var input = document.getElementById("input_id").value;. And then I would just use the variable to add the input ...
Read more >
HTML DOM Input Text value Property - W3Schools
The value property sets or returns the value of the value attribute of a text field. The value property contains the default value...
Read more >
How to Get an Input's Value with JavaScript - Tabnine Academy
Get the value of a text input ; getVal() { ; const val = document.querySelector('input').value; ; console.log(val);.
Read more >
How to Get the Value of Text Input Field ... - Tutorial Republic
Answer: Use the value Property. You can simply use the value property of the DOM input element to get the value of text...
Read more >
How to get the value of text input field using JavaScript
We can get the value of the text input field using various methods in JavaScript. There is a text value property that can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found