FormLayout and setReadOnly in Vaadin 8

Hi!
Can’t found setReadOnly in FormLayout. It was very useful.
Is it bug, or what we have instead?
Thank you.