-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
AutoComplete: mark text with shift+Home does not work. #3140
Comments
Hi, Unfortunately, I don't have a keyboard that supports Pos1 key. A PR from your side on this topic would be excellent. |
I checked, the event.code for the key says "Home". The same issue exists, when the cursor is at first pos and you hit Shift+End. |
could be fixed this way for the Home key. `onHomeKey(event) {
|
Hi, |
equivalent for the Shift+End combination. |
Fixed #3142 |
Describe the bug
If you set the cursor in the text field at the end of the text, you can usually use the keyboard shortcut Shift+Pos1 to select the whole text in the text field.
This works in the InpuText Component.
Unfortunately it does not work in the AutoComplete Component.
Reproducer
https://www.primefaces.org/primevue/autocomplete
PrimeVue version
3.17.0
Vue version
3.x
Language
ES6
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
Go to https://www.primefaces.org/primevue/autocomplete
Enter some Text into an autocomplete
set cursor at end of text
hit Shift+Pos1
the cursor only jumps to the start of the string.
Expected behavior
I expect the text to be highlighted.
just like in the InputText component.
The text was updated successfully, but these errors were encountered: