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