mirror of https://github.com/Squidex/squidex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
715 B
19 lines
715 B
<sqx-dropdown [items]="model.fields | sqxKeys"
|
|
[ngModel]="path"
|
|
(ngModelChange)="pathChange.emit($event)"
|
|
[canSearch]="false" separated="true">
|
|
<ng-template let-field="$implicit">
|
|
<div class="row">
|
|
<div class="col-auto">
|
|
<div class="badge badge-pill badge-primary">{{model.fields[field].displayName}}</div>
|
|
</div>
|
|
<div class="col text-right">
|
|
<small class="text-muted">{{model.fields[field].description | sqxTranslate: model.fields[field]}}</small>
|
|
</div>
|
|
</div>
|
|
</ng-template>
|
|
|
|
<ng-template let-field="$implicit">
|
|
{{model.fields[field].displayName}}
|
|
</ng-template>
|
|
</sqx-dropdown>
|