-
When I use a hosted dropdown together with a data list like so: <tui-hosted-dropdown [content]="contentLang">
<button tuiButton type="button" [iconRight]="arrow" size="m">
My label
</button>
</tui-hosted-dropdown>
<ng-template #contentLang>
<tui-data-list>
<button tuiButton>First</button>
<button tuiButton>Second</button>
<button tuiButton>Third</button>
</tui-data-list>
</ng-template> It always shows an Nothing found at the end of the dropdown. Best regards, |
Beta Was this translation helpful? Give feedback.
Answered by
waterplea
Aug 10, 2021
Replies: 1 comment
-
You need to use |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
loxy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to use
tuiOption
on buttons/links, nottuiButton
inside a DataList.