taiga-family / taiga-ui

Angular UI Kit and components library for awesome people
https://taiga-ui.dev
Apache License 2.0
3.26k stars 457 forks source link

🐞 - Криво показывается инфа о InputCardGroup #9054

Closed evoytenkoapps closed 1 month ago

evoytenkoapps commented 1 month ago

Playground Link

No response

Description

в витрине InputCardGroup, в API, при установке icon, в селекте показывается какой-то код

Angular version

No response

Taiga UI version

No response

Which browsers have you used?

Which operating systems have you used?

evoytenkoapps commented 1 month ago

по словам Инкина - "это там шаблон на самом деле, так выглядит его toString. Хорошо бы поправить там отображение. "

hakimio commented 1 month ago

That's intended. It's the stringified ng-template: https://github.com/taiga-family/taiga-ui/blob/bee65c930fb845c3983ef44c9f3b5d9d7d867086/projects/demo/src/modules/components/input-card-group/index.html#L44

waterplea commented 1 month ago

That's intended. It's the stringified ng-template:

https://github.com/taiga-family/taiga-ui/blob/bee65c930fb845c3983ef44c9f3b5d9d7d867086/projects/demo/src/modules/components/input-card-group/index.html#L44

Yes, the idea here is to just show "TemplateRef" there instead of a stringified version of it since it does not provide anything meaningful anyway.