Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
How to capture backspace button.
Hi,
How can i capture and disable the back space key feature for my vaadin app. So, I do not want to move to previous web page if the user clicks backspace key on a disable field or any field that does not capture back space key and also when the user clicks the backspace key genereally without selecting any field.
I guess I could put the behaviour for every field seperately but thats to much work as we have many fields. So, I was looking for some generic solution which disables back space feature for eveything except text field / text area....
Hi,
Maybe you could add a shortcut key to your layout. More information here: https://vaadin.com/book/-/page/advanced.shortcuts.html