We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4bd6b36 + 8eda6e0 commit 0a2376aCopy full SHA for 0a2376a
src/Html/Options/Plugins/Select.php
@@ -208,6 +208,18 @@ public function selectStyleMultiShift(): static
208
return $this->select(['style' => Builder::SELECT_STYLE_MULTI_SHIFT]);
209
}
210
211
+ /**
212
+ * Select keyboard navigation and selection.
213
+ *
214
+ * @return $this
215
216
+ * @see https://datatables.net/extensions/select/examples/initialisation/keys
217
+ */
218
+ public function selectKeys(bool $enabled = true): static
219
+ {
220
+ return $this->select(['keys' => $enabled]);
221
+ }
222
+
223
public function getSelect(?string $key = null): mixed
224
{
225
if (is_null($key)) {
0 commit comments