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.

How to keep input text when click outside?

See original GitHub issue

When I typing He, list suggestion is Hello, Hello World. When click outside the result. The input He was cleared. How can I keep it on?

Issue Analytics

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

github_iconTop GitHub Comments

8reactions
charliekasselcommented, Aug 15, 2018

No thank you, that behaviour does not make sense to me, I don’t want to support it.

1reaction
riksnelderscommented, Aug 15, 2018

Then make it configurable. And set default to false?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Attach a function after clicking outside the input with javascript ...
<input class="UserInfo" type="text" placeholder="phone Format" id="Phone_num">. Run code snippet. Hide results. Expand snippet ...
Read more >
How to save input when click outside of it in jQuery
Learn the details about How to save input when click outside of it in jQuery instantly right from your google search results with...
Read more >
Run - W3Schools Tryit Editor
Modify the text in the input field, then click outside the field to fire the onchange event. Enter some text:
Read more >
Creating An Outside Focus And Click Handler React Component
In this article, we'll look at how to create an outside focus and click handler with React. You'll learn how to recreate an...
Read more >
How to hide a div when the user clicks outside of it using ...
An element can be hidden or shown based on if the mouse is clicked outside the element using two methods. ... The closest()...
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