Skip to content

Commit ece9ee2

Browse files
authored
Merge pull request #209 from assureclaims/feature/RMA-108088
RMA-108088: checkin on behalf of swarna - Tool tip is not coming for file upload control.
2 parents c041eeb + 10b8a47 commit ece9ee2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

projects/dxc-ngx-cdk/src/lib/dxc-file-input/dxc-file-input.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<div *ngIf="mode !== 'file'" class="dragDropArea" [ngClass]="{
77
hovering: hoveringWithFile === true
88
}" (drop)="drop($event)" (dragleave)="dragLeave($event)" (dragover)="dragOver($event)">
9-
<dxc-button mode="secondary" [disabled]="disabled" [tabIndexValue]="tabIndexValue" (onClick)="fileInput.click()">
9+
<dxc-button mode="secondary" [matTooltip]="resources?.importButtonforfee?.description" [disabled]="disabled" [tabIndexValue]="tabIndexValue" (onClick)="fileInput.click()">
1010
<dxc-button-icon>
1111
<span class="icon-dxc-wrapper">
1212
<mat-icon class="mat-icon material-icons">

projects/dxc-ngx-cdk/src/lib/dxc-file-input/dxc-file-input.module.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import {
1515
IFileServiceProvider,
1616
} from "./services/file-provider..service";
1717
import { DxcProgressbarModule } from "../dxc-progressbar/dxc-progressbar.module";
18+
import { MatTooltipModule } from "@angular/material/tooltip";
1819
@NgModule({
1920
declarations: [
2021
DxcFileInputComponent,
@@ -30,6 +31,7 @@ import { DxcProgressbarModule } from "../dxc-progressbar/dxc-progressbar.module"
3031
ReactiveFormsModule,
3132
DxcProgressbarModule,
3233
HttpClientModule,
34+
MatTooltipModule
3335
],
3436
exports: [DxcFileInputComponent],
3537
})

0 commit comments

Comments
 (0)