ng2-select2 icon indicating copy to clipboard operation
ng2-select2 copied to clipboard

Can't bind to 'data' since it isn't a known property of 'select2'

Open karangoswami31 opened this issue 7 years ago • 10 comments

ng2 select2 Implement in nagular 4

Can't bind to 'data' since it isn't a known property of 'select2'. ("

lable

<select2 [ERROR ->][data]="exampleData" [options]="options"> "): ng:///HomeModule/Select2DataComponent.html@3:11 Can't bind to 'options' since it isn't a known property of 'select2'. ("

<select2 [data]="exampleData" [ERROR ->][options]="options"> "): ng:///HomeModule/Select2DataComponent.html@3:33 'select2' is not a known element:

please help me out

karangoswami31 avatar Apr 18 '17 10:04 karangoswami31

HI every one if you are using Angular 4 or more the Angular 2.0 please keep in you mind use select.full.js not select.min.js

it will work

karangoswami31 avatar Apr 18 '17 11:04 karangoswami31

please guide in current direction .. your npm ng2select2 document is not working for Angular 4 For any farther dicuss please email me 👍

[email protected]

karangoswami31 avatar Apr 18 '17 12:04 karangoswami31

+1 - please help....

roccolucatallarita avatar Apr 20 '17 09:04 roccolucatallarita

@karangoswami31 @RLTmultimedia Hi, will check it out over the weekend, hope it's not too late. Can you please let me know if you have any other problems except "isn't a known property" problem. Can you please paste your package.json as well so that I can see which versions do you use. This way I can reproduce this problem easily. Thank you

NejcZdovc avatar Apr 20 '17 10:04 NejcZdovc

Hi dear, this is My package.json


{ "version": "1.0.0", "name": "aspnet", "private": true, "scripts": { "postinstall": "typings install", "typings": "typings" }, "dependencies": { "@angular/animations": "^4.0.0", "@angular/common": "~4.0.0", "@angular/compiler": "~4.0.0", "@angular/core": "~4.0.0", "@angular/forms": "~4.0.0", "@angular/http": "~4.0.0", "@angular/platform-browser": "~4.0.0", "@angular/platform-browser-dynamic": "~4.0.0", "@angular/router": "~4.0.0", "@types/jquery": "^2.0.41", "@types/node": "^6.0.46", "@types/select2": "^4.0.34", "angular-in-memory-web-api": "~0.3.0", "bootstrap": "^3.3.7", "core-js": "^2.4.1", "jquery": "^3.1.1", "ng2-select2": "^1.0.0-beta.10", "rxjs": "5.0.1", "systemjs": "0.19.40", "toastr": "^2.1.2", "zone.js": "^0.8.4" }, "devDependencies": { "@types/toastr": "^2.1.32", "gulp": "^3.9.1", "gulp-clean": "^0.3.2", "gulp-concat": "^2.6.1", "gulp-tsc": "^1.3.1", "gulp-typescript": "^3.1.6", "path": "^0.12.7", "typescript": "~2.1.0", "typings": "^2.1.0" } }

its have to Add select.full.js ..

karangoswami31 avatar Apr 21 '17 09:04 karangoswami31

Any updates? I'm facing the same issue with Angular 4.

mitidiero avatar Aug 07 '17 20:08 mitidiero

No Update

On Tue, Aug 8, 2017 at 2:27 AM, Luiz Mitidiero [email protected] wrote:

Any updates? I'm facing the same issue with Angular 4.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/NejcZdovc/ng2-select2/issues/78#issuecomment-320778518, or mute the thread https://github.com/notifications/unsubscribe-auth/AHFRxWlXCiqOht4gJ2Esm7qHiefkBjbhks5sV3o7gaJpZM4NAKPE .

karangoswami31 avatar Aug 10 '17 05:08 karangoswami31

Hi, +1, i am also getting issue with Angular 4 any update on this issue?

KiranWorks1061 avatar Nov 09 '17 09:11 KiranWorks1061

how can I add select.full.js?

Auraya86 avatar Nov 21 '17 09:11 Auraya86

I am facing same issue.

baj9032 avatar Sep 04 '18 05:09 baj9032