Skip to content

Commit

Permalink
sort backend list alphabetical
Browse files Browse the repository at this point in the history
  • Loading branch information
M3NIX committed Oct 23, 2023
1 parent d30feca commit 895e5e6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion static/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
new TomSelect("#select-backend", {
controlInput: null,
valueField: "value",
labelField: "label"
labelField: "label",
sortField: {
field: "value",
direction: "asc"
}
});
new TomSelect("#select-format", {
controlInput: null,
Expand Down

0 comments on commit 895e5e6

Please sign in to comment.