diff --git a/frontend/src/app/shared/state/schemas.forms.ts b/frontend/src/app/shared/state/schemas.forms.ts index a551fb34b..f834f389c 100644 --- a/frontend/src/app/shared/state/schemas.forms.ts +++ b/frontend/src/app/shared/state/schemas.forms.ts @@ -113,7 +113,7 @@ class FieldRuleTemplate { public createControl(_: any, fieldNames?: ReadonlyArray) { return new ExtendedFormGroup({ - name: new FormControl('Disable', + action: new FormControl('Disable', Validators.required, ), field: new FormControl(fieldNames?.[0], diff --git a/frontend/src/app/theme/_forms.scss b/frontend/src/app/theme/_forms.scss index 9e1df422d..4c2769336 100644 --- a/frontend/src/app/theme/_forms.scss +++ b/frontend/src/app/theme/_forms.scss @@ -24,7 +24,7 @@ &.preview { background-color: $color-input; - border: 0; + border-color: $color-input; border-radius: $border-radius; opacity: .4; pointer-events: none;