diff --git a/src/framework/theme/components/select/select.component.html b/src/framework/theme/components/select/select.component.html
index f26fa4be67..d438bf2d2a 100644
--- a/src/framework/theme/components/select/select.component.html
+++ b/src/framework/theme/components/select/select.component.html
@@ -28,6 +28,6 @@
-
+
diff --git a/src/framework/theme/components/select/select.spec.ts b/src/framework/theme/components/select/select.spec.ts
index ad746c4018..c248ababea 100644
--- a/src/framework/theme/components/select/select.spec.ts
+++ b/src/framework/theme/components/select/select.spec.ts
@@ -61,6 +61,9 @@ const TEST_GROUPS = [
{{ option.title }}
+
+ ng-container option
+
@@ -221,4 +224,13 @@ describe('Component: NbSelectComponent', () => {
expect(button.textContent).toContain('1 noitpO');
})
});
+
+ it('should render option wrapped in ng-container', () => {
+ select.multiple = true;
+ setSelectedAndOpen([]);
+
+ const options = overlayContainer.querySelectorAll('nb-option');
+ const lastOption = options[options.length - 1];
+ expect(lastOption.textContent).toEqual('ng-container option');
+ });
});
diff --git a/src/playground/with-layout/select/select-showcase.component.html b/src/playground/with-layout/select/select-showcase.component.html
index bdae8073a7..6f325edd6f 100644
--- a/src/playground/with-layout/select/select-showcase.component.html
+++ b/src/playground/with-layout/select/select-showcase.component.html
@@ -4,4 +4,3 @@
Option 3
Option 4
-