JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Menu & Tree › static text in smart-menu › Reply To: static text in smart-menu
August 5, 2020 at 4:56 pm
#100959
Member
Hi Christopher
Unfortunately the nested <smart-menu-item><span>{{ userName | async }}</span></smart-menu-item> works only for static content like:
<smart-menu-item><span>SOMEBODY</span></smart-menu-item> and not for async angular items.
The userName is specified in angular controller: public userName: Observable<string>;
The displayed menu item for async variable is like “Item 3” instead of variable value.
Peter