ngx-chips
ngx-chips copied to clipboard
withDefaults not working with aot
I'm submitting a ... (check one with "x")
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request/question
Current behavior
Using withDefaults
work fine when using the jit, but when built with aot those defaults are ignored.
Expected behavior
The defaults provided in withDefaults
should be used with both jit and aot compilation.
Angular version:
4.2.5
ng2-tag-input version:
1.4.6
Difficult one :\ will check out
I am using the latest angular 9 and the latest version of ngx-chips, trying to globally configure the default theme:
TagInputModule.withDefaults({ tagInput: { theme: "ddf"}});
and the ts compiler says "ddf is not assignable to type "" .