You need to sign in to do that
Don't have an account?
SFDC Appsdev
Focus on Next Input on Enter Key in Lightning
Hello
I need help related to focusing on next input on Tab or Enter Key press. I have done this same in Visualforce Page by getting the next element's dom Id and setting the focus, which is seems to be not possible in Lightning Components with LockerService Enabled. I have a List which is rendered with aura:iteration of table with each column as a UI:input component.
I need help related to focusing on next input on Tab or Enter Key press. I have done this same in Visualforce Page by getting the next element's dom Id and setting the focus, which is seems to be not possible in Lightning Components with LockerService Enabled. I have a List which is rendered with aura:iteration of table with each column as a UI:input component.
May I suggest you please refer the below link to reference.
- https://salesforce.stackexchange.com/questions/199466/lightninginput-field-focus-and-enter-key-in-lightning-component
hope it will help.Please mark it as best answer if the information is informative.
Thanks
Rahul Kumar