BeanFieldGroup<MyRecord> fieldGroup = new BeanFieldGroup<>(MyRecord.class);
...
fieldGroup.buildAndBindMemberFields(this);
in a class that
extends GridLayout .
I am declaring
private InlineDateField which I
setEnable(false) in class constructor.
Field is still enabled.
There is a bug
https://dev.vaadin.com/ticket/17847 . Currently the only discussion is by the Vaadiners by themselves. Maybe you could as a user go and politely tell that this bug is annoying.
In the meanwhile you have to resort to disabling the fields after bind.