Browse Source

Fix tag editor.

pull/489/head
Sebastian 6 years ago
parent
commit
e944d2ed71
  1. 1
      backend/src/Squidex.Domain.Apps.Core.Model/Schemas/TagsFieldProperties.cs
  2. 2
      frontend/app/framework/angular/forms/editors/tag-editor.component.html

1
backend/src/Squidex.Domain.Apps.Core.Model/Schemas/TagsFieldProperties.cs

@ -9,6 +9,7 @@ using System.Collections.ObjectModel;
namespace Squidex.Domain.Apps.Core.Schemas
{
[Equals(DoNotAddEqualityOperators = true)]
public sealed class TagsFieldProperties : FieldProperties
{
public ReadOnlyCollection<string>? AllowedValues { get; set; }

2
frontend/app/framework/angular/forms/editors/tag-editor.component.html

@ -6,7 +6,7 @@
[class.readonly]="readonly"
[class.multiline]="!singleLine"
[class.focus]="snapshot.hasFocus"
[class.disabled]="addInput.disabled"
[class.disabled]="snapshot.isDisabled"
[class.dashed]="dashed && !(snapshot.items.length > 0)">
<span class="item" *ngFor="let item of snapshot.items; let i = index" [class.disabled]="addInput.disabled">

Loading…
Cancel
Save