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:
commit
2aae3dfd98
@ -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 {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user