Browse Source
Fixed label autocomplete dropdown in rule node link dialog (#16360)
* Fixed label autocomplete dropdown in rule node link dialog
* License headers fix
pull/16364/head
Maksym Tsymbarov
2 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with
2 additions and
14 deletions
-
ui-ngx/src/app/modules/home/pages/rulechain/add-rule-node-link-dialog.component.scss
-
ui-ngx/src/app/modules/home/pages/rulechain/link-labels.component.html
-
ui-ngx/src/app/modules/home/pages/rulechain/rulechain-page.component.ts
|
|
|
@ -1,9 +0,0 @@ |
|
|
|
// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors |
|
|
|
// SPDX-License-Identifier: Apache-2.0 |
|
|
|
:host ::ng-deep { |
|
|
|
tb-rule-node-link { |
|
|
|
form { |
|
|
|
overflow: hidden !important; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
@ -1,7 +1,8 @@ |
|
|
|
<!-- |
|
|
|
|
|
|
|
SPDX-FileCopyrightText: Copyright The ThingsBoard Authors |
|
|
|
SPDX-License-Identifier: Apache-2.0 |
|
|
|
SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. |
|
|
|
SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 |
|
|
|
|
|
|
|
--> |
|
|
|
<mat-form-field [formGroup]="linksFormGroup" style="width: 100%;" appearance="outline"> |
|
|
|
@ -22,9 +23,6 @@ |
|
|
|
#labelInput |
|
|
|
(focusin)="onFocus()" |
|
|
|
formControlName="label" |
|
|
|
matAutocompleteOrigin |
|
|
|
#origin="matAutocompleteOrigin" |
|
|
|
[matAutocompleteConnectedTo]="origin" |
|
|
|
[matAutocomplete]="labelAutocomplete" |
|
|
|
[matChipInputFor]="chipList" |
|
|
|
[matChipInputSeparatorKeyCodes]="separatorKeysCodes" |
|
|
|
|
|
|
|
@ -1989,7 +1989,6 @@ export interface AddRuleNodeLinkDialogData { |
|
|
|
selector: 'tb-add-rule-node-link-dialog', |
|
|
|
templateUrl: './add-rule-node-link-dialog.component.html', |
|
|
|
providers: [{ provide: ErrorStateMatcher, useExisting: AddRuleNodeLinkDialogComponent }], |
|
|
|
styleUrls: ['./add-rule-node-link-dialog.component.scss'], |
|
|
|
standalone: false |
|
|
|
}) |
|
|
|
export class AddRuleNodeLinkDialogComponent extends DialogComponent<AddRuleNodeLinkDialogComponent, FcRuleEdge> |
|
|
|
|