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.
Can't disable fields in FormLayout
Hi All!
Another problem - I've created a form layout basing on user-profile window from vaadin's dasboard demo, ane here is the thing - i would like to make few fields disabled.
I've tried .setEnabled(false) method and .setReadOnly(true) as well, and none of them works for PopupDateField and Text Field. It looks like setEnabled works fine for ComboBox, but not for other types of fields.
Has anyone encountered that kind of problem? Is there any solution?
Thanks in advance!
Tom
Ok. I've managed to create some workaround for the issue. I need to disable the field after setting datasource for field group. Quite strange, huh?