UI: Improvment device-profile set default rule-chain

This commit is contained in:
Vladyslav Prykhodko 2020-10-02 00:54:26 +03:00
parent c8f8901a7f
commit 1b1dac30d4

View File

@ -49,11 +49,10 @@
{{ 'device-profile.name-required' | translate }} {{ 'device-profile.name-required' | translate }}
</mat-error> </mat-error>
</mat-form-field> </mat-form-field>
<tb-entity-autocomplete <tb-rule-chain-autocomplete
labelText="device-profile.default-rule-chain" labelText="device-profile.default-rule-chain"
[entityType]="entityType.RULE_CHAIN"
formControlName="defaultRuleChainId"> formControlName="defaultRuleChainId">
</tb-entity-autocomplete> </tb-rule-chain-autocomplete>
<mat-form-field class="mat-block"> <mat-form-field class="mat-block">
<mat-label translate>device-profile.type</mat-label> <mat-label translate>device-profile.type</mat-label>
<mat-select formControlName="type" required> <mat-select formControlName="type" required>