Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit e7e0596

Browse files
committed
Check for undefined
1 parent c712972 commit e7e0596

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/select.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ angular.module('ui.select', [])
363363
},
364364
link: function(scope, element, attrs, $select) {
365365
attrs.$observe('placeholder', function(placeholder) {
366-
$select.placeholder = placeholder || uiSelectConfig.placeholder;
366+
$select.placeholder = placeholder !== undefined ? placeholder : uiSelectConfig.placeholder;
367367
});
368368
}
369369
};

0 commit comments

Comments
 (0)