Currently in kendo.prompt, the user can accept or decline the entered value in the popup only by clicking on the 'OK' and ' Cancel' buttons.
I know I can workaround that behavior as demonstrated below - https://dojo.telerik.com/pRIUUdCh
$('[role="alertdialog"]').on('keydown', function(event){ if(event.keyCode == 13){ $('[role="alertdialog"] .k-button:first-child').focus(); $('[role="alertdialog"] .k-button:first-child').click(); } else if (event.keyCode == 27){ $('[role="alertdialog"] .k-actions .k-button').eq(1).click() } })
However, I would like to have a built-in possibility to accept and cancel through the Enter and Escape keys.