akveo / akveo/ng2-smart-table

Adding Filters in my Module

オープン
#1,190 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
1.6k
フォーク
867
PR マージ指標
30日以内にマージされた PR はありません

説明

Hi guys, i have a module, and i made a custom filter, but i want to use the template below:
```







```

So in my module i'm trying to import the components of ng2-smart-table like:
```
import { DefaultFilterComponent } from "ng2-smart-table/lib/components/filter/default-filter.component";
import { CustomFilterComponent } from "ng2-smart-table/lib/components/filter/custom-filter.component";
import { CheckboxFilterComponent } from "ng2-smart-table/lib/components/filter/filter-types/checkbox-filter.component";
```
etc....
but in my angular when i declare in:
```
declarations: [
DefaultFilterComponent ,
CustomFilterComponent,
CheckboxFilterComponent
],
```
or even in imports
```
imports: [
DefaultFilterComponent ,
CustomFilterComponent,
CheckboxFilterComponent
],
```

give me a error message:
ERROR in Unexpected value 'DefaultFilterComponent in E:/Danilo/project/node_modules/ng2-smart-table/lib/components/filter/default-filter.component.d.ts' declared by the module 'MyCustomModule in E:/Danilo/project/lib/mymodule/src/lib/mymodule.module.ts'. Please add a @Pipe/@Directive/@Component annotation.

i need some help, thx

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。