RED-6774 - added hidden property for extra option
This commit is contained in:
parent
137a62338c
commit
a4e425d373
@ -1,6 +1,7 @@
|
||||
interface ExtraOption {
|
||||
label: string;
|
||||
checked: boolean;
|
||||
hidden?: boolean;
|
||||
}
|
||||
|
||||
export interface DetailsRadioOption<I> {
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
<label class="details-radio-label pointer">{{ option.label | translate }}</label>
|
||||
<span class="hint" [innerHTML]="option.description | translate : option.descriptionParams"></span>
|
||||
|
||||
<div class="iqser-input-group" *ngIf="option.extraOption && isSelected(option)">
|
||||
<div class="iqser-input-group" *ngIf="option.extraOption && !option.extraOption.hidden && isSelected(option)">
|
||||
<mat-checkbox
|
||||
color="primary"
|
||||
[(ngModel)]="option.extraOption.checked"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user