-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Can't bind to 'data' since it isn't a known property of 'select2' #118
Comments
Do you have FormsModule imported in your module? |
I have the same error. I have imported the FormsModule, but isn't working. |
same issue =( |
have you add 'Select2Module' in import from app module ? |
I have the same error. |
1 similar comment
I have the same error. |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
compiler.js:466 Uncaught Error: Template parse errors:
Can't bind to 'data' since it isn't a known property of 'select2'. ("
<select2 [ERROR ->][data]="exampleData" [options]="[{placeholder:'300'}]"
(valueChanged)="changed($ev"): ng:///SharedModule/SearchadvancedComponent.html@101:27
Can't bind to 'options' since it isn't a known property of 'select2'. ("div>
<select2 [data]="exampleData" [ERROR ->][options]="[{placeholder:'300'}]"
(valueChanged)="changed($event)">
"): ng:///SharedModule/SearchadvancedComponent.html@101:48
'select2' is not a known element:
Please help
The text was updated successfully, but these errors were encountered: