|
|
@ -69,35 +69,35 @@ |
|
|
} |
|
|
} |
|
|
@case (valueTypes.SelectionStringValueType) { |
|
|
@case (valueTypes.SelectionStringValueType) { |
|
|
@if (feature.valueType.itemSource?.items?.length) { |
|
|
@if (feature.valueType.itemSource?.items?.length) { |
|
|
<div class="mb-3 form-group"> |
|
|
<div class="mb-3 form-group"> |
|
|
<label [htmlFor]="feature.name" class="form-label">{{ |
|
|
<label [htmlFor]="feature.name" class="form-label">{{ |
|
|
feature.displayName |
|
|
feature.displayName |
|
|
}}</label> |
|
|
}}</label> |
|
|
<select |
|
|
<select |
|
|
class="form-select" |
|
|
class="form-select" |
|
|
[id]="feature.name" |
|
|
[id]="feature.name" |
|
|
[(ngModel)]="feature.value" |
|
|
[(ngModel)]="feature.value" |
|
|
> |
|
|
> |
|
|
@for ( |
|
|
@for ( |
|
|
item of feature.valueType.itemSource?.items; |
|
|
item of feature.valueType.itemSource?.items; |
|
|
track item.value |
|
|
track item.value |
|
|
) { |
|
|
) { |
|
|
<option [ngValue]="item.value"> |
|
|
<option [ngValue]="item.value"> |
|
|
{{ |
|
|
{{ |
|
|
item.displayText?.resourceName + |
|
|
item.displayText?.resourceName + |
|
|
'::' + |
|
|
'::' + |
|
|
item.displayText?.name | abpLocalization |
|
|
item.displayText?.name | abpLocalization |
|
|
}} |
|
|
}} |
|
|
</option> |
|
|
</option> |
|
|
} |
|
|
} |
|
|
</select> |
|
|
</select> |
|
|
<ng-container |
|
|
<ng-container |
|
|
*ngTemplateOutlet=" |
|
|
*ngTemplateOutlet=" |
|
|
descTmp; |
|
|
descTmp; |
|
|
context: { $implicit: feature.description } |
|
|
context: { $implicit: feature.description } |
|
|
" |
|
|
" |
|
|
></ng-container> |
|
|
></ng-container> |
|
|
</div> |
|
|
</div> |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
@default { |
|
|
@default { |
|
|
@ -136,7 +136,6 @@ |
|
|
|
|
|
|
|
|
@if (groups.length) { |
|
|
@if (groups.length) { |
|
|
<abp-button |
|
|
<abp-button |
|
|
iconClass="fa fa-refresh" |
|
|
|
|
|
buttonClass="btn btn-outline-primary" |
|
|
buttonClass="btn btn-outline-primary" |
|
|
[disabled]="modalBusy" |
|
|
[disabled]="modalBusy" |
|
|
(click)="resetToDefault()" |
|
|
(click)="resetToDefault()" |
|
|
|