Join the Stack Overflow Community
Stack Overflow is a community of 6.4 million programmers, just like you, helping each other.
Join them; it only takes a minute:
Sign up

I have the MUI design framework currently setup within my project. https://www.muicss.com/docs/v1/angular/dropdowns

I am using the following boilerplate code to display a Material Designed select dropdown

<mui-dropdown color="primary" label="dropdown">
  <mui-dropdown-item link="#/link1">Option 1</mui-dropdown-item>
  <mui-dropdown-item>Option 2</mui-dropdown-item>
</mui-dropdown>

However I am struggling to get this working with dynamic data - my existing 'old' select dropdown menu works with the following ng-options shown below:

 <select ng-model="rule.selectedAction" ng-options="team.name for team in teams track by team.id">
    <option value="">Select Team</option>
 </select>

Can anyone explain how I integrate the mui dropdown but using the dynamic data I have from the teams variable as illustrated in the latter code block?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.