Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • I added [(ngModel)] to the html tag @PierreDuc, and i got an error as ngModel is not a nown property of ss-multiselect-dropdown. Further ,i removed [(ngModel)] and added a debugger point on line containing onChange() , the function is not executed . Commented Jan 17, 2017 at 7:55
  • Have you added the angular FormModule to your imports ? I've also updated my answer to only use the [] notation and not the [()]. You can try that as well. This is because there is already a ngModelChange listener Commented Jan 17, 2017 at 8:22
  • Now it is working . Thank you :) . I had not imported the FormsModule . I have aapplied the changes on ngModel . Commented Jan 17, 2017 at 8:37
  • Can I then ignore [options]="ArrayObject" in <ss-multiselect-dropdown ? Commented Jul 31, 2017 at 23:22
  • The first value of the selection is "". Anyone faced this? Commented Oct 26, 2017 at 10:51