obsidian-tasks
obsidian-tasks copied to clipboard
Priority UI Dropdown on task create should allow selection by typing
Expected Behavior
When the Priority
drop-down has focus, typing the first letter of a priority should immediately select the appropriate priority
Current Behavior
When the Priority
drop-down has focus, typing H
,M
, L
does nothing.
Pressing down opens the drop-down, but then pressing any of H
, M
, L
(or any character really) causes Medium
to be selected.
Note, two things to correct, a) allow the drop-down to be immediately changeable with a keypress when it has focus b) allow the drop-down values to be selected by typing
Context (Environment)
- Obsidian version: 0.13.23
- Tasks version: 1.4.1
- [x] I have tried it with all other plugins disabled and the error still occurs
Thanks, @madorb. The current workaround is using the arrow keys.
Selecting the priority using 4 radiobuttons would be also much faster than a dropdown.
@Cito disagree. may be slightly better than current as you could tab through them instead of moving to arrow keys. but a type-ahead drop-down where one just needs to type say H
to have high selected, then hit tab to go to move onto question would be optimal
@madorb One does not exclude the other. For use with the keyboard, it would be best if you could tab to the priority radioboxes and then select the priority with either HML or cursor keys. I.e. same behavior as the dropdown - it should not tab through the individual radiobuttons, but only to the currently selected one, so tabbing through the fields would be just as quick. But when using the mouse, it would be much faster.
This feature was released in 1.16.0 and then improved in 1.17.0 Docs: https://obsidian-tasks-group.github.io/obsidian-tasks/getting-started/create-or-edit-task/#keyboard-shortcuts