Skip to content

Commit e5a1151

Browse files
committed
Remove 'undefined' from generated lookup values
1 parent e6b1bfc commit e5a1151

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

dist/forms-angular.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3145,7 +3145,8 @@ var fng;
31453145
for (var i = 0; i < data.length; i++) {
31463146
var option = '';
31473147
for (var j = 0; j < listInstructions.length; j++) {
3148-
option += data[i][listInstructions[j].name] + ' ';
3148+
var thisVal = data[i][listInstructions[j].name];
3149+
option += thisVal ? thisVal + ' ' : '';
31493150
}
31503151
option = option.trim();
31513152
var pos = _.sortedIndex(optionsList, option);

0 commit comments

Comments
 (0)