dev:eg-combobox
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
dev:eg-combobox [2025/04/02 14:41] – created sleary | dev:eg-combobox [2025/04/02 15:59] (current) – syntax highlighting sleary | ||
---|---|---|---|
Line 6: | Line 6: | ||
- events | - events | ||
* keyboard | * keyboard | ||
+ | - eg-org-select is not a complete clone of eg-combobox | ||
- [[https:// | - [[https:// | ||
+ | |||
+ | |||
+ | ===== Keyboard Events ===== | ||
+ | |||
+ | added to eg-combobox and eg-org-select as part of the Item Alerts, Notes, Tags, and Templates Rework (bug 2074112). There are new event emitters to allow keyboard shortcuts in general, and there is a specific one for the Enter key where the selected value is emitted. | ||
+ | |||
+ | Examples: | ||
+ | |||
+ | Support for keyboard events was added to eg-combobox and eg-org-select as part of the Item Alerts, Notes, Tags, and Templates Rework (bug 2074112), building on the keyboard shortcuts previously added in the MARC rich editor to open the suggestion list. | ||
+ | |||
+ | There are new event emitters to allow keyboard shortcuts in general, and there is a specific one for the Enter key where the selected value is emitted. | ||
+ | |||
+ | <code html> | ||
+ | < | ||
+ | | ||
+ | | ||
+ | < | ||
+ | |||
+ | < | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | The Enter key event' | ||
+ | |||
+ | ===== Frustration Memes ===== | ||
+ | |||
+ | When combobox is driving you crazy: | ||
+ | |||
+ | {{: |
dev/eg-combobox.1743619274.txt.gz · Last modified: 2025/04/02 14:41 by sleary