[BUG] @prizm-ui/components - prizmTabs при передаче объекта в атрибут [content], в списке объектов отображается [object: object] #1859
Labels
priority:urgently
"Tag: priority:urgently — Marks tasks or issues that require immediate attention and action. These a
state:ready
ready for release (pass tested)
type:bug
Something isn't working
Milestone
Библиотека
Выберите нужное отметив галочку [x]
@prizm-ui/core
@prizm-ui/components
@prizm-ui/install
@prizm-ui/icons
@prizm-ui/flag-icons
@prizm-ui/theme
@prizm-ui/charts
@prizm-ui/ast
@prizm-ui/nx-plugin
Компонент
PrizmTabs
Версия
Операционная ситема:
Windows 10,
Браузер:
Версия 126.0.6478.127 (Официальная сборка), (64 бит)
NodeJS:
Dependencies:
Проект в котором используется Prizm
ИАС БГПЗ
Скрин / Видео проблемы
Скриншот.jpg
Ссылка на stackblitz с минимальным воспроизведением
Пример:
https://stackblitz.com/edit/ngx-14-title-demo-enp5ng?file=src%2Fapp%2Fapp.component.html
Описание проблемы
Если в content тэга prizm-tabs передать объект, либо ссылку на шаблон, использующий объект, то в dropdown со списком табов, табы будут отображаться, как [object Object].
const tabs = [{title: 'title1', name: 'name1'}];
<prizm-tab *ngFor="let tab of tabs" [content]="tabContent" [type]="'line'">
<ng-template #tabContent>
Шаги воспроизведения:
The text was updated successfully, but these errors were encountered: