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
726 B
21 lines
726 B
<sqx-dropdown
|
|
[disabled]="model.schema.fields.length === 0"
|
|
[dropdownStyles]="{ maxWidth: '40rem' }"
|
|
[items]="model.schema.fields"
|
|
itemSeparator="true"
|
|
[ngModel]="field"
|
|
(ngModelChange)="pathChange.emit($event?.path)"
|
|
searchProperty="path">
|
|
<ng-template let-field="$implicit">
|
|
<div class="row">
|
|
<div class="col-auto">
|
|
<div class="badge rounded-pill badge-primary">{{ field.path }}</div>
|
|
</div>
|
|
|
|
<div class="col text-end">
|
|
<sqx-form-hint>{{ field.description }}</sqx-form-hint>
|
|
</div>
|
|
</div>
|
|
</ng-template>
|
|
<ng-template let-field="$implicit"> {{ field.path }} </ng-template>
|
|
</sqx-dropdown>
|
|
|