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.
21 lines
725 B
21 lines
725 B
<sqx-dropdown
|
|
[items]="model.fields | sqxKeys"
|
|
[itemsBordered]="true"
|
|
[ngModel]="path"
|
|
(ngModelChange)="pathChange.emit($event)"
|
|
[canSearch]="false">
|
|
<ng-template let-field="$implicit">
|
|
<div class="row">
|
|
<div class="col-auto">
|
|
<div class="badge rounded-pill badge-primary">{{model.fields[field].displayName}}</div>
|
|
</div>
|
|
<div class="col text-end">
|
|
<sqx-form-hint>{{model.fields[field].description | sqxTranslate: model.fields[field]}}</sqx-form-hint>
|
|
</div>
|
|
</div>
|
|
</ng-template>
|
|
|
|
<ng-template let-field="$implicit">
|
|
{{model.fields[field].displayName}}
|
|
</ng-template>
|
|
</sqx-dropdown>
|