NetanelBasal/nb-choices

Cannot find name 'CHOICES_CONFIG'"

SonOfCrypto opened this issue · 2 comments

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

I will investigate and let you know, thanks!

thx! I guess I figured it out my self. I forgot importing the config. 🙈

import { NbChoicesModule, CHOICES_CONFIG } from 'nb-choices';