0

I'm having form where I would like to be able to navigate through by using the arrow keys instead of tab. Since there is already something which controls how the input should react when tab is pressed I would like to reuse this "default key event handler". However, I don't know how and I struggle to find something online.

I'm looking for something like this:

<input type="text" @keydown.left.prevent="keydown.tab" />
muXXmit2X
  • 2,745
  • 3
  • 17
  • 34
  • this is how you can programmatically simulate a tab keydown event https://elgervanboxtel.nl/site/blog/simulate-keydown-event-with-javascript – Jacob Goh Oct 19 '18 at 09:21
  • I think only way is to implement this behavior in your code. Check this as well https://stackoverflow.com/questions/1803338/simulate-the-tab-key-function-in-javascript – Max Sinev Oct 19 '18 at 09:31

0 Answers0