ORIENT/modules/backend/widgets
Ben Thomson 14c4d1392e Datatable dropdown usability tweaks (#3980)
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
2018-12-16 09:30:23 -06:00
..
filter/partials Add filter of type text in backend list (#3094) 2017-11-06 12:07:53 -06:00
form Change number field type to use HTML5 number type 2018-12-06 14:40:33 -06:00
lists Adds align support to non-sortable list column headers (#3638) 2018-07-15 00:56:09 -04:00
mediamanager Replace keyup listener with input listener (#3567) 2018-05-30 20:26:38 -06:00
reportcontainer Update jquery.isotope library from v1.5.26 to v3.0.6 (#3966) 2018-12-07 18:31:51 -06:00
search/partials Add reset search (X) to toolbar search input (#3975) 2018-12-14 09:04:01 -06:00
table Datatable dropdown usability tweaks (#3980) 2018-12-16 09:30:23 -06:00
toolbar/partials Decouple the toolbar from the layout system 2015-08-26 20:24:37 +10:00
Filter.php Filter group translatable options (#3793) 2018-09-17 09:33:13 -06:00
Form.php Adds i18n support for the form field default property (#3546) 2018-12-01 13:05:47 -06:00
Lists.php Remove unused imports 2018-08-24 19:51:59 +02:00
MediaManager.php Annotate class methods 2018-08-30 13:37:39 +10:00
ReportContainer.php Refactor ternary operators to null coalescing operators 2018-08-15 19:15:13 +02:00
Search.php Extract child instructions 2018-08-15 19:25:42 +02:00
Table.php Remove "null" assignments 2018-08-15 18:33:24 +02:00
Toolbar.php {@inheritDoc} -> @inheritDoc 2017-03-16 06:26:14 +11:00