[AAE-6087] Update base card view item with optional hint parameter (#7285)

* [AAE-6087] Update base card view item with optional hint parameter

* fix typo
This commit is contained in:
Popovics András
2021-10-07 17:53:31 +02:00
committed by GitHub
parent 09a2aab424
commit 8e9bf9cc9b
3 changed files with 29 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ export abstract class CardViewBaseItemModel {
editable: boolean;
clickable: boolean;
icon?: string;
hint?: string;
validators?: CardViewItemValidator[];
data?: any;
type?: string;
@@ -39,6 +40,7 @@ export abstract class CardViewBaseItemModel {
this.editable = !!cardViewItemProperties.editable;
this.clickable = !!cardViewItemProperties.clickable;
this.icon = cardViewItemProperties.icon || '';
this.hint = cardViewItemProperties.hint || '';
this.validators = cardViewItemProperties.validators || [];
this.data = cardViewItemProperties.data || null;
this.multivalued = !!cardViewItemProperties.multivalued;