more doc optvals
authorAlan <alan@roojs.com>
Thu, 3 Mar 2022 09:26:31 +0000 (17:26 +0800)
committerAlan <alan@roojs.com>
Thu, 3 Mar 2022 09:26:31 +0000 (17:26 +0800)
Roo/form/Form.js
docs/json/roodata.json
docs/src/Roo_form_Form.js.html
docs/symbols/Roo.form.Form.json

index 46c9883..e9d06e7 100644 (file)
@@ -81,7 +81,7 @@ Roo.extend(Roo.form.Form, Roo.form.BasicForm, {
      * @cfg {String} itemCls A css class to apply to the x-form-item of fields. This property cascades to child containers.
      */
     /**
-     * @cfg {String} buttonAlign Valid values are "left," "center" and "right" (defaults to "center")
+     * @cfg {String} (left|center|right) buttonAlign Valid values are "left," "center" and "right" (defaults to "center")
      */
     buttonAlign:'center',
 
@@ -91,7 +91,7 @@ Roo.extend(Roo.form.Form, Roo.form.BasicForm, {
     minButtonWidth:75,
 
     /**
-     * @cfg {String} labelAlign Valid values are "left," "top" and "right" (defaults to "left").
+     * @cfg {String} labelAlign (left|top|right) Valid values are "left," "top" and "right" (defaults to "left").
      * This property cascades to child containers if not set.
      */
     labelAlign:'left',
index c0383d7..536ec34 100644 (file)
   "Roo.form.Form" : {
     "props" : [
       {
-        "name" : "baseParams",
-        "type" : "Object",
-        "desc" : "Parameters to pass with all requests. e.g. baseParams: {id: '123', foo: 'bar'}.",
-        "memberOf" : "Roo.form.BasicForm",
+        "name" : "(left|center|right)",
+        "type" : "String",
+        "desc" : "buttonAlign Valid values are \"left,\" \"center\" and \"right\" (defaults to \"center\")",
+        "memberOf" : "",
         "isOptional" : false,
         "optvals" : []
       },
       {
-        "name" : "buttonAlign",
-        "type" : "String",
-        "desc" : "Valid values are \"left,\" \"center\" and \"right\" (defaults to \"center\")",
-        "memberOf" : "",
+        "name" : "baseParams",
+        "type" : "Object",
+        "desc" : "Parameters to pass with all requests. e.g. baseParams: {id: '123', foo: 'bar'}.",
+        "memberOf" : "Roo.form.BasicForm",
         "isOptional" : false,
         "optvals" : []
       },
       {
         "name" : "labelAlign",
         "type" : "String",
-        "desc" : "Valid values are \"left,\" \"top\" and \"right\" (defaults to \"left\").\nThis property cascades to child containers if not set.",
+        "desc" : "t) Valid values are \"left,\" \"top\" and \"right\" (defaults to \"left\").\nThis property cascades to child containers if not se",
         "memberOf" : "",
         "isOptional" : false,
-        "optvals" : []
+        "optvals" : [
+          "left",
+          "top",
+          "right"
+        ]
       },
       {
         "name" : "labelWidth",
index 70f5af7..5286a5a 100644 (file)
@@ -81,7 +81,7 @@
      * @cfg {String} itemCls A css class to apply to the x-form-item of fields. This property cascades to child containers.
      */
     /**
-     * @cfg {String} buttonAlign Valid values are &quot;left,&quot; &quot;center&quot; and &quot;right&quot; (defaults to &quot;center&quot;)
+     * @cfg {String} (left|center|right) buttonAlign Valid values are &quot;left,&quot; &quot;center&quot; and &quot;right&quot; (defaults to &quot;center&quot;)
      */
     </span><span class="jsdoc-var">buttonAlign</span><span class="jsdoc-syntax">:</span><span class="jsdoc-string">'center'</span><span class="jsdoc-syntax">,
 
@@ -91,7 +91,7 @@
     </span><span class="jsdoc-var">minButtonWidth</span><span class="jsdoc-syntax">:75,
 
     </span><span class="jsdoc-comment">/**
-     * @cfg {String} labelAlign Valid values are &quot;left,&quot; &quot;top&quot; and &quot;right&quot; (defaults to &quot;left&quot;).
+     * @cfg {String} labelAlign (left|top|right) Valid values are &quot;left,&quot; &quot;top&quot; and &quot;right&quot; (defaults to &quot;left&quot;).
      * This property cascades to child containers if not set.
      */
     </span><span class="jsdoc-var">labelAlign</span><span class="jsdoc-syntax">:</span><span class="jsdoc-string">'left'</span><span class="jsdoc-syntax">,
index 0a7baf8..75d14e3 100644 (file)
     {
       "name" : "labelAlign",
       "type" : "String",
-      "desc" : "Valid values are \"left,\" \"top\" and \"right\" (defaults to \"left\").\nThis property cascades to child containers if not set.",
+      "desc" : "t) Valid values are \"left,\" \"top\" and \"right\" (defaults to \"left\").\nThis property cascades to child containers if not se",
+      "memberOf" : "",
+      "isOptional" : false,
+      "optvals" : [
+        "left",
+        "top",
+        "right"
+      ]
+    },
+    {
+      "name" : "(left|center|right)",
+      "type" : "String",
+      "desc" : "buttonAlign Valid values are \"left,\" \"center\" and \"right\" (defaults to \"center\")",
       "memberOf" : "",
       "isOptional" : false,
       "optvals" : []
       "isOptional" : false,
       "optvals" : []
     },
-    {
-      "name" : "buttonAlign",
-      "type" : "String",
-      "desc" : "Valid values are \"left,\" \"center\" and \"right\" (defaults to \"center\")",
-      "memberOf" : "",
-      "isOptional" : false,
-      "optvals" : []
-    },
     {
       "name" : "method",
       "type" : "String",