Menu Dropdown is not working

I fetched tabs from the database using ngFor loop. but if I used ngFor loop then ktMenu dropdown which I added in tab-content is not working. I used Metronic theme.
I tried with this example:-
It is working properly without using ngFor. but if I used ngFor for tabs, then dropdown is not show
Can anyone help me with this?

Text formatting options

Replies (2)


If you use ngFor loop, the dropdown HTML is added dynamically in view level and need to be initialized.

Please check here, we did reinitialization for dropdown in aside menu.



Thank you very much, I've been trying to solve this for hours

Text formatting options
Text formatting options

React Dev Vacancy

KeenThemes is looking for a Junior React or Vue developer to build awesome apps.
keenthemes mega bundle