887 questions
-2 votes
1 answer
75 views
How to hide the search results if the search input is empty?
The search results are hidden by default/onload/onrefresh via CSS. Results will only shows up if you search in the input field and hit enter or if you hit the button. For example try to search Social ...
1 vote
4 answers
121 views
How to show the list of items after clicking the button
Try to search "social" in the input field and hit enter, It is working fine. But I want the same functionality if you click the button. I already tried creating a document.getElementById(&...
0 votes
1 answer
1k views
How to add an 'Enter' key event listener to an input bar that I've grabbed with querySelector?
Basically, I'm following this exercise https://www.youtube.com/watch?v=EerdGm-ehJQ&t=50183s 14n, part 2. My page looks like this:I'm focusing on the input bar with the '3' inside it When I press '...
0 votes
1 answer
99 views
In MAUI the Content.KeyUp cannot capture pressing Enter key
In MAUI, using KeyUp I can capture all the key pressing, but not pressing Enter key. Here is the code: window.Content.KeyUp += (s,e){ //do something } If I press the Enter key of keyboard, nothing ...
0 votes
1 answer
56 views
Changing what the enter button does while stopping it from doing it's automatic action
When I press the enter button with focus on an EditText on my Android app, it switches the focus to the next EditText. I added functionality to the enter button in the java class, but cant find out ...
1 vote
1 answer
1k views
.NET MAUI Execute Button Command Upon <Enter> by User
I just wanted to know, is there any possibility to bind the keyboard input to executing a specific button command in .NET MAUI? I've seen one can apparently use keyboard accelerators for the menu ...
1 vote
2 answers
4k views
I want to add an action for pressing the Enter key (the same as for the button), in powerapps
I'm creating a project in PowerApps. I need help with one functionality. I want the button and pressing the Enter key on the keyboard to perform the same action. I am a complete beginner, I don't know ...
1 vote
3 answers
226 views
How to bind the other "Enter" on the keyboard in python tkinter?
I am writing a tkinter app in python 3.12.0 (on windows) and I want to bind the other "Enter" (Which is in Num-Lock part of keyboard) that when I press it, send my message. I am using a Text ...
1 vote
2 answers
62 views
How to stop a button from being clicked again when I press the enter key after clicking it
<body> <button id="aButton">A button</button> <script> document.querySelector("#aButton").addEventListener("click", () => { ...
0 votes
2 answers
38 views
Search Submit on Pressing Enter
I'm trying to get my search bar to work when pressing enter. It works when pressing the button but not when you press enter.... /** * search toggle */ const searchTogglers = document....
0 votes
1 answer
166 views
How we can define Enter and Exit block to conenct the main flowchart in any logic?
enter image description here How we can connect these two flowcharts together? in order to complete the main flowchart we want to insert the flowchart which starts by Enter and finishes by Exit. we ...
1 vote
1 answer
1k views
scrollIntoView() method stops scrolling mid-way to the element when triggered by ENTER key on input
Context I'm developing a list of items. I have a form on the top of the list in order to add new items (just 1 input and 1 submit button). Once the form is submitted, I have the next code in order to ...
0 votes
1 answer
696 views
Enter key stopped working in ubuntu after updating gsettings
I was trying to setup my zsh to make different binding for enter and ctrl + enter, and faced the following problem. Following instructions from here I executed these commands in the terminal: ...
-2 votes
1 answer
65 views
How to skip an enter using scanner?
I've been using a scanner to read a text file but get this output. [f, , , f, , , f, , , f, , , f] The text file characters are all separated by enters. I've tried using scanner.skip("\n");, ...
0 votes
1 answer
230 views
Using Enter key to move to the next field under ng-template on Angular 7+
I am getting the following : Cannot read properties of undefined (reading 'focus') So, I console logged the nextField.nativeElement , using console.log(nextField.nativeElement) and got undefined my ....