Added a checkbox, that is stored in a field of an inner class
[demos/spring-boot] / src / main / java / de / juplo / demo / Form.java
index 5bd5388..e7a40af 100644 (file)
@@ -5,11 +5,18 @@ import lombok.Data;
 
 
 /**
- * Simple form with a single checkbox
+ * Simple form to demonstrate the behavior of checkboxes
  * @author Kai Moritz
  */
 @Data
 public class Form
+{
+  Boolean option;
+  Inner inner = new Inner();
+}
+
+@Data
+class Inner
 {
   Boolean option;
 }