ngx-chips icon indicating copy to clipboard operation
ngx-chips copied to clipboard

withDefaults not working with aot

Open altschuler opened this issue 7 years ago • 2 comments

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

altschuler avatar Jul 19 '17 07:07 altschuler

Difficult one :\ will check out

Gbuomprisco avatar Aug 06 '17 12:08 Gbuomprisco

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 "" .

httpete avatar Apr 20 '20 15:04 httpete