Tab key in TextArea

Hi guys.

Simple question.

Is it possible to use the tab key in a TextArea to actually “insert a tab charachter” as opposed to shifting focus to the next component?

If so, how could you then shift focus to the next component using only the keyboard?



it’s not supported in plain vaadin. However, it can be done in javascript quite easily and could probably even be done as an extension to vaadin textarea. However, as you note you can’t have it both ways. If you want the tab key to insert actual tab chars to the textarea, it will become a focus black hole - you can’t get out of there with the tab key anymore.



Thanks very much for the answer. Just wanted to make sure I wasnt missing something simple!