Browse Source
Merge pull request #12878 from ArtemDzhereleiko/AD/bug-fix/data-keys-drag-n-drop
Fixed drag and drop for data keys chip
pull/12927/head
Igor Kulikov
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
1 additions and
5 deletions
-
ui-ngx/src/app/modules/home/components/widget/lib/settings/common/key/data-keys.component.html
-
ui-ngx/src/app/modules/home/components/widget/lib/settings/common/key/data-keys.component.scss
|
|
@ -93,7 +93,7 @@ |
|
|
</div> |
|
|
</div> |
|
|
</mat-chip-row> |
|
|
</mat-chip-row> |
|
|
<input matInput type="text" placeholder="{{ !disabled && (!maxDataKeysSet || keys.length < maxDataKeys) ? secondaryPlaceholder : '' }}" |
|
|
<input matInput type="text" placeholder="{{ !disabled && (!maxDataKeysSet || keys.length < maxDataKeys) ? secondaryPlaceholder : '' }}" |
|
|
[class.tb-dragging]="dragIndex > -1" |
|
|
[class.invisible]="dragIndex > -1" |
|
|
style="max-width: 200px;" |
|
|
style="max-width: 200px;" |
|
|
#keyInput |
|
|
#keyInput |
|
|
formControlName="key" |
|
|
formControlName="key" |
|
|
|
|
|
@ -45,10 +45,6 @@ |
|
|
display: flex; |
|
|
display: flex; |
|
|
flex-wrap: wrap; |
|
|
flex-wrap: wrap; |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
|
|
|
|
|
|
input.tb-dragging { |
|
|
|
|
|
display: none; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.mat-mdc-chip.mat-mdc-standard-chip.tb-datakey-chip { |
|
|
.mat-mdc-chip.mat-mdc-standard-chip.tb-datakey-chip { |
|
|
|