Adds a couple of usability tweaks to the dropdown cell type in the data table widget, to more closely mimic a native dropdown field. Pressing the up or down arrow keys when the cell is focused but with the dropdown closed will select the previous or next item automatically and set it as the cell value. This does prevent the usual table function of going to the previous or next row when focused on a dropdown cell, but I think it's a worthwhile trade-off. When the dropdown is open, the up and down arrows work the same as previously implemented. Typing out characters will initiate a search and select the first matching option automatically and set it as the cell value. For example, for the following options: Apples Oranges Bananas Typing out o and r on the keyboard will automatically select the Oranges option. Credit to @bennothommo |
||
|---|---|---|
| .. | ||
| backend | ||
| cms | ||
| system | ||