[MNT-24496] ADW Integration with APS Improvements - Re-assign Tasks (#10350)

* [MNT-24496] ADW Integration with APS Improvements - Re-assign Tasks

* [MNT-24496] code improvements

* [MNT-24496] remove duplications

* [MNT-24496] add unit test

* [MNT-24496] cr fixes

* [MNT-24496] empty commit [ci:force]

* [MNT-24496] fix unit test

* [MNT-24496] empty commit [ci:force]

* [MNT-24496] cr fix

* [MNT-24496] remove redundant import
This commit is contained in:
Mykyta Maliarchuk
2024-11-06 10:48:40 +01:00
committed by GitHub
parent 558ff71878
commit 258f01803c
14 changed files with 434 additions and 94 deletions

View File

@@ -2,7 +2,7 @@
Title: Card View component
Added: v2.0.0
Status: Active
Last reviewed: 2018-05-09
Last reviewed: 2024-10-29
---
# [Card View component](../../../lib/core/src/lib/card-view/components/card-view/card-view.component.ts "Defined in card-view.component.ts")
@@ -353,6 +353,7 @@ const selectItemProperty = new CardViewSelectItemModel(options);
| key\* | string | | Identifying key (important when editing the item) |
| editable | boolean | false | Toggles whether the item is editable |
| value | string | | The original data value for the item |
| autocompleteBased | boolean | false | Indicates whether the select item should use autocomplete functionality. If set to true, the select item will provide an autocomplete input field. |
| options$\* | [`Observable`](http://reactivex.io/documentation/observable.html)<[`CardViewSelectItemOption`](../../../lib/core/src/lib/card-view/interfaces/card-view-selectitem-properties.interface.ts)\[]> | | The original data value for the item |
#### Card Array Item

View File

@@ -2,7 +2,7 @@
Title: Card View Update service
Added: v2.0.0
Status: Active
Last reviewed: 2022-11-25
Last reviewed: 2024-10-29
---
# [Card View Update service](../../../lib/core/src/lib/card-view/services/card-view-update.service.ts "Defined in card-view-update.service.ts")
@@ -137,6 +137,19 @@ Example
this.cardViewUpdateService.updateElement(cardViewBaseItemModel)
```
## Autocomplete Input Value
The `autocompleteInputValue$` property is a Subject that emits the current value of the autocomplete input field. This can be used to track changes in the input field and respond accordingly.
### Example
You can subscribe to `autocompleteInputValue$` to get the current value of the autocomplete input field and update the options accordingly.
```ts
this.cardViewUpdateService.autocompleteInputValue$.subscribe(value => {
this.options$ = this.getOptions(value);
});
```
## See also
- [Card view component](../components/card-view.component.md)