diff options
author | 2020-03-27 10:55:45 +0530 | |
---|---|---|
committer | 2020-03-27 11:06:41 +0530 | |
commit | 13758cf841eda6ab5c2c7b7ffa204ee42f298644 (patch) | |
tree | 861de6ce63dc7f318b52d6e8b1061829f22cc89e /ecomp-sdk/portalsdk-tag-library/projects/portalsdk-tag-lib/src/lib/rdp/rdp-data-table/rdp-data-table-edit/rdp-data-table-edit.component.html | |
parent | 7d3ad2425c0a774179ddb522e741d977c3bcf992 (diff) |
Menu mandatory field, add/update fixes
Change-Id: I238d9ba1ae20210bd305461ebc2fd6180ee9940d
Issue-ID: PORTAL-864
Signed-off-by: rachitha.ramappa@att.com
Diffstat (limited to 'ecomp-sdk/portalsdk-tag-library/projects/portalsdk-tag-lib/src/lib/rdp/rdp-data-table/rdp-data-table-edit/rdp-data-table-edit.component.html')
-rw-r--r-- | ecomp-sdk/portalsdk-tag-library/projects/portalsdk-tag-lib/src/lib/rdp/rdp-data-table/rdp-data-table-edit/rdp-data-table-edit.component.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ecomp-sdk/portalsdk-tag-library/projects/portalsdk-tag-lib/src/lib/rdp/rdp-data-table/rdp-data-table-edit/rdp-data-table-edit.component.html b/ecomp-sdk/portalsdk-tag-library/projects/portalsdk-tag-lib/src/lib/rdp/rdp-data-table/rdp-data-table-edit/rdp-data-table-edit.component.html index a0e2b01b..f2ff001b 100644 --- a/ecomp-sdk/portalsdk-tag-library/projects/portalsdk-tag-lib/src/lib/rdp/rdp-data-table/rdp-data-table-edit/rdp-data-table-edit.component.html +++ b/ecomp-sdk/portalsdk-tag-library/projects/portalsdk-tag-lib/src/lib/rdp/rdp-data-table/rdp-data-table-edit/rdp-data-table-edit.component.html @@ -49,6 +49,7 @@ <div [ngSwitch]="column.type"> <div *ngSwitchCase="'text'" class="groupItem"> <label class="item-label">{{column.dispalyTitle | titlecase}}:</label><br> + <span *ngIf="column.isMandatory" style="color: red;">*</span> <rdp-input-editor (changedColumnValue)="columnDataChanged($event, column.title)" rowdata="{{selectedRowData}}" columntitle="{{column.title}}" @@ -57,6 +58,7 @@ </rdp-input-editor> </div> <div *ngSwitchCase="'dropdown'" class="groupItem"> + <span *ngIf="column.isMandatory" style="color: red;">*</span> <rdp-select-editor (changedColumnValue)="columnDataChanged($event, column.title)" rowdata="{{selectedRowData}}" [data]="column.listData" @@ -64,14 +66,17 @@ </div> <div *ngSwitchCase="'textarea'" class="groupItem"> <label class="item-label">{{column.dispalyTitle | titlecase}}:</label><br> + <span *ngIf="column.isMandatory" style="color: red;">*</span> <rdp-textarea-editor rowdata="{{selectedRowData}}" columntitle="{{column.title}}"></rdp-textarea-editor> </div> <div *ngSwitchCase="'checkbox'" class="groupItem"> <label class="item-label">{{column.dispalyTitle | titlecase}}:</label><br> + <span *ngIf="column.isMandatory" style="color: red;">*</span> <rdp-checkbox-editor rowdata="{{selectedRowData}}" columntitle="{{column.title}}"></rdp-checkbox-editor> </div> <div *ngSwitchCase="'radio'" class="groupItem"> <label class="item-label">{{column.dispalyTitle | titlecase}}:</label><br> + <span *ngIf="column.isMandatory" style="color: red;">*</span> <rdp-radio-editor (changedColumnValue)="columnDataChanged($event, column.title)" [data]="column.listData" rowdata="{{selectedRowData}}" @@ -79,10 +84,12 @@ </div> <div *ngSwitchCase="'datepicker'" class="groupItem"> <label class="item-label">{{column.dispalyTitle | titlecase}}:</label><br> + <span *ngIf="column.isMandatory" style="color: red;">*</span> <rdp-datepicker-editor rowdata="{{selectedRowData}}" columntitle="{{column.title}}"></rdp-datepicker-editor> </div> <div *ngSwitchDefault class="groupItem"> <label class="item-label">{{column.dispalyTitle | titlecase}}:</label><br> + <span *ngIf="column.isMandatory" style="color: red;">*</span> <rdp-input-editor (changedColumnValue)="columnDataChanged($event, column.title)" rowdata="{{selectedRowData}}" columntitle="{{column.title}}"></rdp-input-editor> </div> |