Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit e86934f

Browse files
committed
stupid Safari
1 parent 20ffdef commit e86934f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/directive/ngOptions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ var ngOptionsDirective = ['$compile', '$document', '$parse', function($compile,
661661
listFragment.appendChild(groupElement);
662662

663663
// Update the label on the group element
664-
groupElement.label = option.group;
664+
groupElement.label = option.group === null ? 'null' : option.group;
665665

666666
// Store it for use later
667667
groupElementMap[option.group] = groupElement;

0 commit comments

Comments
 (0)