Merge pull request #12878 from ArtemDzhereleiko/AD/bug-fix/data-keys-drag-n-drop

Fixed drag and drop for data keys chip
This commit is contained in:
Igor Kulikov 2025-03-13 19:11:26 +02:00 committed by GitHub
commit 2aae3dfd98
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 5 deletions

View File

@ -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"

View File

@ -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 {