-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keyboard navigation Table - Edit with arrows #6982
Comments
This will be an awsome feature. We realy need this feature for our business case. @yigitfindikli are there any suggestions on the release date of this feature? |
Done @Tr1monster 🏴☠️ |
This enhancement accidentally broke the usage of the arrow keys to de- and increase an input number in a |
also it broke the native input text behavior that, when typing some text, you expect the left arrow to go to the previous character, not to change column. |
can anyone reopen this issue in order to fix the broken behavior it introduced or put it behind a config @yigitfindikli? |
I'm getting the same thing as @If-novelt I would like to know too if is there any way for disabled that behaviour, I mean, what I be able navigate between input's characters without changing of column. Thanks in advance. |
It would be awesome if the behaviour could change a little bit. Navigating through the column should not trigger the input behaviour. Maybe it could improved in the following way:
Any suggestions on that @yigitfindikli @jsanz1209 |
+1. I'm totally right with the behaviour which you had indicated @Tr1monster |
Any news about this?? |
+1. Please fix this!! Input leaving is very confused for users when they just want to edit some character. |
Hi everyone Althouhg it is a feature but in my case this feature is playing a role of searious bug so I disable following methods definition in "\node_modules\primeng\fesm2015\primeng-table.js" and now happy with table:- onArrowUp(event) |
hello, and happy new year @yigitfindikli, can we reopen this ticket to make this feature configurable? |
I think I have figured out a workaround for it. On the input filed I add this, (keydown.ArrowRight)="doNothing($event)" Then in the component I add this function. doNothing(e: any) { This is stopping the code in the primeng-table.js from running. You can add ArrowLeft or anything else you want as well. |
That works! Thanks @homerchap |
Hey, thanks for that!! @homerchap It works 👍 |
@homerchap Thanks you are a life saver. |
I'm submitting a ... (check one with "x")
Current behavior
No navigation between editable cells of the turbo-table in Edit mode with arrows (right, left, up and down) like is with tab key.
Expected behavior
Possibility to navigate between the editable cells of different records with the arrows.
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
The text was updated successfully, but these errors were encountered: