diff --git a/docassemble_webapp/docassemble/webapp/static/bootstrap-combobox/js/bootstrap-combobox.js b/docassemble_webapp/docassemble/webapp/static/bootstrap-combobox/js/bootstrap-combobox.js index 3877622c8..c90a49721 100755 --- a/docassemble_webapp/docassemble/webapp/static/bootstrap-combobox/js/bootstrap-combobox.js +++ b/docassemble_webapp/docassemble/webapp/static/bootstrap-combobox/js/bootstrap-combobox.js @@ -617,6 +617,12 @@ case 9: // tab case 13: // enter + if (e) { + e.stopPropagation(); + e.preventDefault(); + } + daFetchAjaxTimeoutFetchAfter = false; + daFetchAcceptIncoming = false; if (!this.shown) { return; } @@ -638,6 +644,12 @@ break; case 27: // escape + if (e) { + e.stopPropagation(); + e.preventDefault(); + } + daFetchAjaxTimeoutFetchAfter = false; + daFetchAcceptIncoming = false; if (!this.shown) { return; }