Commit e41e39b7 authored by jgould's avatar jgould

autocomplete formatting

parent 592465a8
...@@ -289,7 +289,8 @@ morpheus.MetadataUtil.autocomplete = function (model) { ...@@ -289,7 +289,8 @@ morpheus.MetadataUtil.autocomplete = function (model) {
matches.push({ matches.push({
value: quotedField + ':', value: quotedField + ':',
label: '<span style="font-weight:300;">' + (regexMatch == null ? field : field.replace(regexMatch, '<b>$1</b>')) label: '<span style="font-weight:300;">' + (regexMatch == null ? field : field.replace(regexMatch, '<b>$1</b>'))
+ ':</span>', + ':</span>' + (dataType === 'number' ? ('<span' +
' style="font-weight:300;font-size:85%;">min..max</span>') : ''),
show: true show: true
}); });
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment