New Metronic Docs!Added Integration Docs with Starter Kits Apps for Laravel, Laravel Livewire, Angular, Vue, Symfony, Blazor Server, Django & Flask & more
Browse Docs

Angular Multiselect Dropdown in Metronic Angular v8.1.8 Demo1


Hello Team,

I have recently purchased the Metronic Angular theme (version v8.1.8, Demo1). I am currently integrating a multiselect dropdown component in my Angular application. However, I could not find any existing implementation or example of a multiselect dropdown in the provided theme components or documentation.

Could you please confirm whether a multiselect dropdown component is available in this version of the theme? If it's not included by default, could you recommend the best way to integrate one that aligns well with the Metronic UI/UX guidelines?

Thank you for your assistance.


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (1)


Hi Sandip D

Metronic Angular v8.1.8 does not include a pre-built multiselect dropdown component. However, you have options to integrate one that aligns with Metronic's UI

Recommended Approach - Using ng-select:
Install ng-select: npm install @ng-select/ng-select

Import in your module:

import { NgSelectModule } from "@ng-select/ng-select";

@NgModule({
imports: [NgSelectModule, FormsModule]
})


Use in template:

<ng-select [items]="items" 
bindLabel="name"
bindValue="id"
[multiple]="true"
[(ngModel)]="selectedItems">
</ng-select>


Alternative - ng-multiselect-dropdown:
Install: npm install ng-multiselect-dropdown

Provides more specific multiselect features with configuration options


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(