Include lang attribute in field labels

This commit is contained in:
Quincy Morgan
2020-09-22 13:33:52 -04:00
parent f2c150e83e
commit 93cf717110
2 changed files with 6 additions and 5 deletions
+4 -4
View File
@@ -52,16 +52,16 @@ export function uiFormFields(context) {
var titles = [];
var moreFields = notShown.map(function(field) {
var label = field.label();
titles.push(label);
var title = field.title();
titles.push(title);
var terms = field.terms();
if (field.key) terms.push(field.key);
if (field.keys) terms = terms.concat(field.keys);
return {
title: label,
value: label,
title: title,
value: title,
field: field,
terms: terms
};