Add support for focusNext() to Input class
See original GitHub issueFeature Request
Ionic Info
Ionic:
ionic (Ionic CLI) : 4.1.1
Ionic Framework : @ionic/angular 4.0.0-beta.3
@angular-devkit/core : 0.7.5
@angular-devkit/schematics : 0.7.5
@angular/cli : 6.1.5
@ionic/ng-toolkit : 1.0.7
@ionic/schematics-angular : 1.0.5
Cordova:
cordova (Cordova CLI) : 7.1.0
Cordova Platforms : android 6.3.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.2, cordova-plugin-ionic-webview 2.1.0, (and 4 other plugins)
System:
Android SDK Tools : 26.1.1
NodeJS : v8.9.1
npm : 5.5.1
Describe the Feature Request
In older version of Ionic there was a class TextInput
with method focusNext()
, which was very helpful in setting focus to next input element.
Using that, we were able to set focus to next input when the user press Enter key.
In Ionic 4, it seems that the class TextInput
has been changed and replaced by Input
class, which doesn’t have focusNext()
method.
It would be great, if this could be added back to the Input class.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:9
- Comments:5
Top Results From Across the Web
focus - CSS: Cascading Style Sheets - MDN Web Docs - Mozilla
The :focus CSS pseudo-class represents an element (such as a form input) that has received focus. It is generally triggered when the user ......
Read more >Jquery focus on next element with class - Stack Overflow
I am trying to create a function that when key press Enter occurs the next input with a class is selected.
Read more >I want to set the focus to the next element, when pressing ...
first , focus is on the select element. at this time, press Enter key , i want to set the focus to the...
Read more >onfocus Event - W3Schools
Execute a JavaScript when an input field gets focus: ... The onfocus event occurs when an element gets focus. ... It is fully...
Read more >Cant Focus Input Field - Material Design for Bootstrap
In Bootstrap i am using this line to focus an element $('element-id').focus(); . But MDB i cant able for focus an input field....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Also need the setBlur() !!!
This feature would really improve the way you can provide a good flow to your users.