From 912c72404e09cf7c9e5e64a2d167fc0d7ac14320 Mon Sep 17 00:00:00 2001 From: Alan Date: Thu, 3 Mar 2022 17:26:31 +0800 Subject: [PATCH] more doc optvals --- Roo/form/Form.js | 4 ++-- docs/json/roodata.json | 24 ++++++++++++++---------- docs/src/Roo_form_Form.js.html | 4 ++-- docs/symbols/Roo.form.Form.json | 22 +++++++++++++--------- 4 files changed, 31 insertions(+), 23 deletions(-) diff --git a/Roo/form/Form.js b/Roo/form/Form.js index 46c9883854..e9d06e7e19 100644 --- a/Roo/form/Form.js +++ b/Roo/form/Form.js @@ -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', diff --git a/docs/json/roodata.json b/docs/json/roodata.json index c0383d76e2..536ec34bd8 100644 --- a/docs/json/roodata.json +++ b/docs/json/roodata.json @@ -241439,18 +241439,18 @@ "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" : [] }, @@ -241508,10 +241508,14 @@ { "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", diff --git a/docs/src/Roo_form_Form.js.html b/docs/src/Roo_form_Form.js.html index 70f5af7f34..5286a5a0d0 100644 --- a/docs/src/Roo_form_Form.js.html +++ b/docs/src/Roo_form_Form.js.html @@ -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 "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 @@ 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', diff --git a/docs/symbols/Roo.form.Form.json b/docs/symbols/Roo.form.Form.json index 0a7baf8471..75d14e3f19 100644 --- a/docs/symbols/Roo.form.Form.json +++ b/docs/symbols/Roo.form.Form.json @@ -63,7 +63,19 @@ { "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" : [] @@ -124,14 +136,6 @@ "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", -- 2.39.2