ng-multiselect-dropdown icon indicating copy to clipboard operation
ng-multiselect-dropdown copied to clipboard

Template not working on version 0.2.14

Open tala9999 opened this issue 4 years ago • 10 comments

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 avatar Feb 02 '21 22:02 tala9999

image

tala9999 avatar Feb 02 '21 22:02 tala9999

@tala9999 it does work.. code link https://codesandbox.io/s/custom-template-uyo0o?file=/src/app/app.component.html

Screenshot 2021-02-09 at 11 56 36 PM

NileshPatel17 avatar Feb 09 '21 18:02 NileshPatel17

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 avatar Feb 09 '21 20:02 tala9999

@tala9999 it won't work with version 0.2.14 as of now. Soon i will be releasing new major version to support it.

NileshPatel17 avatar Feb 10 '21 06:02 NileshPatel17

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

Screenshot 2021-03-02 at 6 11 02 PM

SherwinVarghese avatar Mar 02 '21 12:03 SherwinVarghese

@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.

NileshPatel17 avatar Mar 02 '21 13:03 NileshPatel17

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.

SherwinVarghese avatar Mar 02 '21 13:03 SherwinVarghese

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 avatar Mar 26 '21 05:03 paladin14

@paladin14 ng build --prod issue resolved or not?

sagarbehal08 avatar May 11 '21 05:05 sagarbehal08

@paladin14 ng build --prod issue resolved or not?

try with "1.0.0-beta.14" or you got another solution?

anantdhas avatar Jul 30 '21 04:07 anantdhas