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.

TUTORIALVaadin lets you build secure, UX-first PWAs entirely in Java.
Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Calling javascript synchronously by Enver Haase, 2 weeks ago
buildAndBindMemberFields, cannot disable fields
Have below setup
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.
Last updated on
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.
Last updated on
+1
You cannot reply to this thread.