Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
w2pext
plugin_dbui
Commits
20ec117f
Commit
20ec117f
authored
Oct 09, 2017
by
LE GAC Renaud
Browse files
Update linked ComboBox to sort displayed values in alphabetic order.
parent
52e753b8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
static/plugin_dbui/src/form/field/ComboBoxMaster.js
static/plugin_dbui/src/form/field/ComboBoxMaster.js
+5
-0
static/plugin_dbui/src/form/field/ComboBoxSlave.js
static/plugin_dbui/src/form/field/ComboBoxSlave.js
+2
-0
No files found.
static/plugin_dbui/src/form/field/ComboBoxMaster.js
View file @
20ec117f
...
...
@@ -21,6 +21,9 @@
*
* Several slaves can be bind to the same master.
*
* Value displayed in the Master as well as in the Slave are sorted in
* alphabetic order.
*
* @since 0.6.0.0
*
*/
...
...
@@ -198,6 +201,8 @@ Ext.define("Dbui.form.field.ComboBoxMaster", {
store
.
add
(
record
);
}
}
store
.
sort
(
displayField
,
"
ASC
"
);
},
/**
...
...
static/plugin_dbui/src/form/field/ComboBoxSlave.js
View file @
20ec117f
...
...
@@ -231,6 +231,8 @@ Ext.define("Dbui.form.field.ComboBoxSlave", {
store
.
add
(
record
);
}
}
store
.
sort
(
displayField
,
"
ASC
"
);
},
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment