We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6cdfbf commit aa53bbfCopy full SHA for aa53bbf
modules/ui/form_fields.js
@@ -16,7 +16,8 @@ export function uiFormFields(context) {
16
function formFields(selection) {
17
var allowedFields = _fieldsArr.filter(function(field) { return field.isAllowed(); });
18
var shown = allowedFields.filter(function(field) { return field.isShown(); });
19
- var notShown = allowedFields.filter(function(field) { return !field.isShown(); });
+ var notShown = allowedFields.filter(function(field) { return !field.isShown(); })
20
+ .sort(function(a, b) { return (a.universal === b.universal ? 0 : a.universal ? 1 : -1); });
21
22
var container = selection.selectAll('.form-fields-container')
23
.data([0]);
0 commit comments