sync
authorAlan <alan@roojs.com>
Thu, 16 Dec 2021 03:55:25 +0000 (11:55 +0800)
committerAlan <alan@roojs.com>
Thu, 16 Dec 2021 03:55:25 +0000 (11:55 +0800)
docs/json/roodata.json
docs/src/Roo_form_BasicForm.js.html
docs/src/Roo_form_Layout.js.html
docs/symbols/Roo.form.Column.json
docs/symbols/Roo.form.Layout.json
docs/symbols/Roo.form.Row.json

index 4969f7c..3fed2a9 100644 (file)
       "Roo.SplitButton",
       "Roo.Toolbar.Button",
       "Roo.Toolbar.SplitButton",
-      "Roo.form.TextItem"
+      "Roo.form.TextItem",
+      "Roo.form.FieldSet"
     ],
     "tree_parent" : []
   },
       "Roo.SplitButton",
       "Roo.Toolbar.Button",
       "Roo.Toolbar.SplitButton",
-      "Roo.form.TextItem"
+      "Roo.form.TextItem",
+      "Roo.form.FieldSet"
     ],
     "tree_parent" : []
   },
       "Roo.SplitButton",
       "Roo.Toolbar.Button",
       "Roo.Toolbar.SplitButton",
-      "Roo.form.TextItem"
+      "Roo.form.TextItem",
+      "Roo.form.FieldSet"
     ],
     "tree_parent" : []
   },
index 949b61b..04080e8 100644 (file)
@@ -602,6 +602,14 @@ clientValidation  Boolean          Applies to submit only.  Pass true to call fo
 
         </span><span class="jsdoc-keyword">var </span><span class="jsdoc-var">ret </span><span class="jsdoc-syntax">= {};
         </span><span class="jsdoc-var">this.items.each</span><span class="jsdoc-syntax">(</span><span class="jsdoc-keyword">function</span><span class="jsdoc-syntax">(</span><span class="jsdoc-var">f</span><span class="jsdoc-syntax">){
+
+            </span><span class="jsdoc-keyword">if </span><span class="jsdoc-syntax">(</span><span class="jsdoc-var">f.readOnly</span><span class="jsdoc-syntax">) {
+                </span><span class="jsdoc-keyword">return</span><span class="jsdoc-syntax">; </span><span class="jsdoc-comment">// skip read only values. - this is in theory to stop 'old' values being copied over new ones
+                        // if a subform contains a copy of them.
+                        // if you have subforms with the same editable data, you will need to copy the data back
+                        // and forth.
+            </span><span class="jsdoc-syntax">}
+
             </span><span class="jsdoc-keyword">if </span><span class="jsdoc-syntax">(!</span><span class="jsdoc-var">f.getName</span><span class="jsdoc-syntax">()) {
                 </span><span class="jsdoc-keyword">return</span><span class="jsdoc-syntax">;
             }
index 42151bc..1dec91c 100644 (file)
@@ -12,7 +12,7 @@
 /**
  * @class Roo.form.Layout
  * @extends Roo.Component
- * @children Roo.form.Column Roo.form.Row Roo.form.Field Roo.Button Roo.form.TextItem
+ * @children Roo.form.Column Roo.form.Row Roo.form.Field Roo.Button Roo.form.TextItem Roo.form.FieldSet
  * Creates a container for layout and rendering of fields in an {@link Roo.form.Form}.
  * @constructor
  * @param {Object} config Configuration options
 </span><span class="jsdoc-comment">/**
  * @class Roo.form.Column
  * @extends Roo.form.Layout
- * @children Roo.form.Row Roo.form.Field Roo.Button Roo.form.TextItem
+ * @children Roo.form.Row Roo.form.Field Roo.Button Roo.form.TextItem Roo.form.FieldSet
  * Creates a column container for layout and rendering of fields in an {@link Roo.form.Form}.
  * @constructor
  * @param {Object} config Configuration options
 </span><span class="jsdoc-comment">/**
  * @class Roo.form.Row
  * @extends Roo.form.Layout
- * @children Roo.form.Column Roo.form.Row Roo.form.Field Roo.Button Roo.form.TextItem
+ * @children Roo.form.Column Roo.form.Row Roo.form.Field Roo.Button Roo.form.TextItem Roo.form.FieldSet
  * Creates a row container for layout and rendering of fields in an {@link Roo.form.Form}.
  * @constructor
  * @param {Object} config Configuration options
index 2ff10c9..893e383 100644 (file)
@@ -33,7 +33,8 @@
     "Roo.SplitButton",
     "Roo.Toolbar.Button",
     "Roo.Toolbar.SplitButton",
-    "Roo.form.TextItem"
+    "Roo.form.TextItem",
+    "Roo.form.FieldSet"
   ],
   "tree_parent" : [],
   "desc" : "Creates a column container for layout and rendering of fields in an {@link Roo.form.Form}.",
index fea1d46..94e8142 100644 (file)
@@ -39,7 +39,8 @@
     "Roo.SplitButton",
     "Roo.Toolbar.Button",
     "Roo.Toolbar.SplitButton",
-    "Roo.form.TextItem"
+    "Roo.form.TextItem",
+    "Roo.form.FieldSet"
   ],
   "tree_parent" : [],
   "desc" : "Creates a container for layout and rendering of fields in an {@link Roo.form.Form}.",
index 962ab56..4b86383 100644 (file)
@@ -34,7 +34,8 @@
     "Roo.SplitButton",
     "Roo.Toolbar.Button",
     "Roo.Toolbar.SplitButton",
-    "Roo.form.TextItem"
+    "Roo.form.TextItem",
+    "Roo.form.FieldSet"
   ],
   "tree_parent" : [],
   "desc" : "Creates a row container for layout and rendering of fields in an {@link Roo.form.Form}.",