aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/data/fieldgroup
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/com/vaadin/data/fieldgroup')
-rw-r--r--server/src/com/vaadin/data/fieldgroup/FieldGroup.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/src/com/vaadin/data/fieldgroup/FieldGroup.java b/server/src/com/vaadin/data/fieldgroup/FieldGroup.java
index 9fe99610b2..5d0c23e779 100644
--- a/server/src/com/vaadin/data/fieldgroup/FieldGroup.java
+++ b/server/src/com/vaadin/data/fieldgroup/FieldGroup.java
@@ -209,6 +209,9 @@ public class FieldGroup implements Serializable {
*/
public void setReadOnly(boolean fieldsReadOnly) {
readOnly = fieldsReadOnly;
+ for (Field<?> field : getFields()) {
+ field.setReadOnly(fieldsReadOnly);
+ }
}
/**