adding the field loadDropdownOptions to suggests and dropdown form controls in the form designer
This commit is contained in:
@@ -90898,6 +90898,12 @@ FormDesigner.leftPad = function (string, length, fill) {
|
|||||||
type: "textarea",
|
type: "textarea",
|
||||||
placeholder: "Required field error message".translate()
|
placeholder: "Required field error message".translate()
|
||||||
};
|
};
|
||||||
|
this.loadDropdownOptions = {
|
||||||
|
label: "Load dropdown options".translate(),
|
||||||
|
value: "",
|
||||||
|
type: "textarea",
|
||||||
|
placeholder: "payload".translate()
|
||||||
|
};
|
||||||
this.maxLength = {label: "max length".translate(), value: 1000, type: "text", regExp: /^[0-9]+$/};
|
this.maxLength = {label: "max length".translate(), value: 1000, type: "text", regExp: /^[0-9]+$/};
|
||||||
this.formula = {label: "formula".translate(), value: "", type: "button", labelButton: "edit...".translate()};
|
this.formula = {label: "formula".translate(), value: "", type: "button", labelButton: "edit...".translate()};
|
||||||
this.mode = {
|
this.mode = {
|
||||||
@@ -91285,7 +91291,7 @@ FormDesigner.leftPad = function (string, length, fill) {
|
|||||||
}
|
}
|
||||||
if (type === FormDesigner.main.TypesControl.dropdown) {
|
if (type === FormDesigner.main.TypesControl.dropdown) {
|
||||||
this.pf = ["type", "variable", "var_uid", "dataType", "protectedValue", "id", "name", "label", "tabIndex",
|
this.pf = ["type", "variable", "var_uid", "dataType", "protectedValue", "id", "name", "label", "tabIndex",
|
||||||
"defaultValue", "placeholder", "hint", "ariaLabel", "required", "requiredFieldErrorMessage", "mode", "datasource",
|
"defaultValue", "placeholder", "hint", "ariaLabel", "required", "requiredFieldErrorMessage", "loadDropdownOptions", "mode", "datasource",
|
||||||
"dbConnection", "dbConnectionLabel", "sql", "memoryCache", "dataVariable", "options"];
|
"dbConnection", "dbConnectionLabel", "sql", "memoryCache", "dataVariable", "options"];
|
||||||
if (this.owner instanceof FormDesigner.main.GridItem) {
|
if (this.owner instanceof FormDesigner.main.GridItem) {
|
||||||
this.pf.push("columnWidth");
|
this.pf.push("columnWidth");
|
||||||
@@ -91340,7 +91346,7 @@ FormDesigner.leftPad = function (string, length, fill) {
|
|||||||
}
|
}
|
||||||
if (type === FormDesigner.main.TypesControl.suggest) {
|
if (type === FormDesigner.main.TypesControl.suggest) {
|
||||||
this.pf = ["type", "variable", "var_uid", "dataType", "protectedValue", "id", "name", "label", "tabIndex",
|
this.pf = ["type", "variable", "var_uid", "dataType", "protectedValue", "id", "name", "label", "tabIndex",
|
||||||
"defaultValue", "placeholder", "hint", "ariaLabel", "required", "requiredFieldErrorMessage", "mode", "datasource",
|
"defaultValue", "placeholder", "hint", "ariaLabel", "required", "requiredFieldErrorMessage", "loadDropdownOptions", "mode", "datasource",
|
||||||
"dbConnection", "dbConnectionLabel", "sql", "memoryCache", "dataVariable", "options", "delay", "resultsLimit",
|
"dbConnection", "dbConnectionLabel", "sql", "memoryCache", "dataVariable", "options", "delay", "resultsLimit",
|
||||||
"forceSelection"];
|
"forceSelection"];
|
||||||
if (this.owner instanceof FormDesigner.main.GridItem) {
|
if (this.owner instanceof FormDesigner.main.GridItem) {
|
||||||
@@ -151146,4 +151152,3 @@ CodeMirror.defineMode("sql", function(config, parserConfig) {
|
|||||||
dateSQL:
|
dateSQL:
|
||||||
Used for date/time SQL standard syntax, because not all DBMS's support same temporal types.
|
Used for date/time SQL standard syntax, because not all DBMS's support same temporal types.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user