ng-multiselect-dropdown
ng-multiselect-dropdown copied to clipboard
Template not working on version 0.2.14
Angular version: 11
ng-multiselect-dropdown version:0.2.14
Description of issue: ng-template for option and selected option not working. Is it supposed to work on this version? The documentation say "beta" but not sure it can be used in this version.
Steps to reproduce: create angular project, install , copy the template and code from https://codesandbox.io/s/custom-template-uyo0o?file=/src/app/app.component.ts
Expected result: ng-template should apply
Actual result: just show the default template
Demo: Please share sample code link using StackBlitz or codesandbox
Any relevant code:
@tala9999 it does work.. code link https://codesandbox.io/s/custom-template-uyo0o?file=/src/app/app.component.html

I checked the package.json and the version being used is 1.0.0-beta.13, not 0.2.14
"ng-multiselect-dropdown": "1.0.0-beta.13"
@tala9999 it won't work with version 0.2.14 as of now. Soon i will be releasing new major version to support it.
Hi @NileshPatel17,
The images are not loading with my package versions.
Please have a look here
https://codesandbox.io/s/custom-template-forked-4dctq?file=/package.json

@SherwinVarghese you are not using the correct version. version should be "1.0.0-beta.13".
here is the link https://codesandbox.io/s/custom-template-uyo0o?file=/package.json
custom template is in beta. I will be merging to master and will be releasing soon. As of now you can use beta version.
thanks its working after setting the version to "1.0.0-beta.13"
@SherwinVarghese you are not using the correct version. version should be "1.0.0-beta.13".
here is the link https://codesandbox.io/s/custom-template-uyo0o?file=/package.json
custom template is in beta. I will be merging to master and will be releasing soon. As of now you can use beta version.
Hi after using 1.0.0-beta.13 I can use templates but when running ng build --prod I'm getting an error TypeError: Cannot read property 'kind' of undefined
@paladin14 ng build --prod issue resolved or not?
@paladin14 ng build --prod issue resolved or not?
try with "1.0.0-beta.14" or you got another solution?