Browse Source

Add hyphen to readonly state

pull/4301/head
Thomas Kaul 7 months ago
parent
commit
1384c01fa9
  1. 4
      libs/ui/src/lib/tags-selector/tags-selector.component.html

4
libs/ui/src/lib/tags-selector/tags-selector.component.html

@ -2,11 +2,15 @@
<div class="col"> <div class="col">
@if (readonly) { @if (readonly) {
<div class="h5" i18n>Tags</div> <div class="h5" i18n>Tags</div>
@if (tags?.length > 0) {
<mat-chip-listbox> <mat-chip-listbox>
@for (tag of tags; track tag) { @for (tag of tags; track tag) {
<mat-chip-option disabled>{{ tag.name }}</mat-chip-option> <mat-chip-option disabled>{{ tag.name }}</mat-chip-option>
} }
</mat-chip-listbox> </mat-chip-listbox>
} @else {
<div>-</div>
}
} @else { } @else {
<mat-form-field appearance="outline" class="w-100 without-hint"> <mat-form-field appearance="outline" class="w-100 without-hint">
<mat-label i18n>Tags</mat-label> <mat-label i18n>Tags</mat-label>

Loading…
Cancel
Save