mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4522] Metadata value is not rolled back upon error (#5550)
* * initial commit * * removed breaking change * * fixed ts * * fixed minor changes * * fixed changes * * minor changes * * fixed unit test * * docs added * * fixed date clear problem * * fixed unit test
This commit is contained in:
@@ -126,6 +126,16 @@ respondToCardClick(cn: ClickNotification) {
|
||||
|
||||
Note that this function will only be called if the `clickable` property of the model object is set to true for this item.
|
||||
|
||||
## Update cardview update item
|
||||
|
||||
[`updateElement`](../../../lib/core/card-view/services/card-view-update.service.ts) function helps to update the card view item. It takes the [`CardViewBaseItemModel`](../../../lib/core/card-view/models/card-view-baseitem.model.ts) type object as parameter.
|
||||
|
||||
Example
|
||||
|
||||
```javascript
|
||||
this.cardViewUpdateService.updateElement(cardViewBaseItemModel)
|
||||
```
|
||||
|
||||
## See also
|
||||
|
||||
- [Card view component](../components/card-view.component.md)
|
||||
|
Reference in New Issue
Block a user