Browse Source

Show validation errors in rule.

pull/691/head
Sebastian 5 years ago
parent
commit
8b4ca5c605
  1. 2
      frontend/app/features/rules/shared/actions/generic-action.component.html

2
frontend/app/features/rules/shared/actions/generic-action.component.html

@ -5,6 +5,8 @@
</label> </label>
<div class="col-9"> <div class="col-9">
<sqx-control-errors [for]="property.name"></sqx-control-errors>
<ng-container [ngSwitch]="property.editor"> <ng-container [ngSwitch]="property.editor">
<ng-container *ngSwitchCase="'Text'"> <ng-container *ngSwitchCase="'Text'">
<sqx-formattable-input [formControlName]="property.name" type="Text" [formattable]="property.isFormattable"></sqx-formattable-input> <sqx-formattable-input [formControlName]="property.name" type="Text" [formattable]="property.isFormattable"></sqx-formattable-input>

Loading…
Cancel
Save