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!

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?