1
1
# @acpaas-ui/ngx-components /forms
2
2
3
- The search-filter is a JIRA-like filter component with remote search capabilities.
3
+ The searchfilter is a JIRA-like filter component with remote search capabilities.
4
4
5
5
## Usage
6
6
7
7
``` typescript
8
- import { SearchFilterModule } from ' @acpaas-ui/ngx-components/search-filter ' ` ;
8
+ import { SearchFilterModule } from ' @acpaas-ui/ngx-components/forms ' ` ;
9
9
` ` `
10
10
11
11
## Documentation
@@ -18,16 +18,16 @@ Visit our [documentation site](https://acpaas-ui.digipolis.be/) for full how-to
18
18
| ---------- - | ------ | -------------------------- |
19
19
| ` @Input() id: string; ` | - | Field id . |
20
20
| ` @Input() name: string; ` | - | Field name . |
21
- | ` @Input() flyoutSize: enum; ` | ` FlyoutSize.Small ` | Passed along to ` auiFlyout ` . |
22
- | ` @Input() flyoutAlign: string; ` | ` 'left' ` | Passed along to ` auiFlyout ` . |
21
+ | ` @Input() flyoutSize: enum; ` | ` FlyoutSize.Small ` | Passed along to [ ` auiFlyout ` ]( https : // github.com/digipolisantwerp/acpaas-ui_angular/tree/master/packages/flyout/src/lib/flyout) . |
22
+ | ` @Input() flyoutAlign: string; ` | ` 'left' ` | Passed along to [ ` auiFlyout ` ]( https : // github.com/digipolisantwerp/acpaas-ui_angular/tree/master/packages/flyout/src/lib/flyout) . |
23
23
| ` @Input() label: string; ` | ` 'Filter' ` | Field label . |
24
24
| ` @Input() labelDeselect: string; ` | ` 'Alles deselecteren' ` | Clear button text . |
25
25
| ` @Input() labelResults: string; ` | ` 'Resultaten' ` | Result list header text . |
26
26
| ` @Input() labelNoResults: string; ` | ` 'Geen resultaten gevonden.' ` | Text shown when no results are found . |
27
27
| ` @Input() choices: SearchFilterChoice[]; ` | - | Available choices . |
28
28
| ` @Input() remote: boolean; ` | ` false ` | Enable remote searching . |
29
29
| ` @Input() placeholder: string; ` | ` 'Zoeken' ` | Search field placeholder text . |
30
- | ` @Input() inputDelay: string ; ` | ` ' 150' ` | Delay the search callback on the input field . |
30
+ | ` @Input() inputDelay: number ; ` | ` 150 ` | Delay the search callback on the input field . |
31
31
| ` @Input() showAllByDefault: boolean; ` | ` false ` | Show all items on init , will trigger a search when ` remote ` is ` true ` . |
32
32
| ` @Output() search: Event<string>; ` | - | Callback triggered when ` remote ` is true . |
33
33
@@ -48,6 +48,8 @@ export class AppModule {};
48
48
#### Basic
49
49
50
50
` ` ` typescript
51
+ import { SearchFilterChoice } from '@acpaas-ui/ngx-components/forms';
52
+
51
53
public stuff: SearchFilterChoice[] = [{
52
54
label: "First item",
53
55
value: "one",
0 commit comments