Cannot find name 'CHOICES_CONFIG'"
SonOfCrypto opened this issue · 2 comments
SonOfCrypto commented
Thank you for this module!
Everything works fine with Angular CLI, except the "providers: [{provide: CHOICES_CONFIG, useValue: { removeItems: false }}]" part.
I am getting the error "error: Cannot find name 'CHOICES_CONFIG'". Can you tell me what I am doing wrong?
THX
NetanelBasal commented
I will investigate and let you know, thanks!
SonOfCrypto commented
thx! I guess I figured it out my self. I forgot importing the config. 🙈
import { NbChoicesModule, CHOICES_CONFIG } from 'nb-choices';