feat(module: upload): Disable the tooltip of the input component inside UpdateButton. (#4096)

* feat(module: upload): Disable the tooltip of the input component inside UpdateButton.

* fix test

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
This commit is contained in:
pankey888 2024-08-20 22:27:11 +08:00 committed by GitHub
parent 6d871fe30f
commit a2f1ea3587
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@
@onchange="FileNameChanged"
accept="@Accept"
style="@(Upload?.Drag==true?"position: absolute;width: 100%;height: 100%;opacity: 0;top: 0;left: 0;z-index:2;":"display:none;")"
id="@_fileId" />
id="@_fileId" title="" />
@if (Upload?.Drag == true)
{

View File

@ -14,7 +14,7 @@
@<span class="">
<div class=" ant-upload ant-upload-select-text ant-upload-select" style="">
<span tabindex="0" class="ant-upload" style="display: grid;" data-fileid:ignore role="button">
<input type="file" style="display:none;" id:ignore>
<input type="file" style="display:none;" id:ignore title="">
some content
</span>
</div>
@ -34,7 +34,7 @@
@<span class="">
<div class=" ant-upload ant-upload-select-text ant-upload-drag ant-upload-select" style="">
<span tabindex="0" class="ant-upload" style="display: grid;;" data-fileid:ignore role="button" >
<input type="file" style="position: absolute;width: 100%;height: 100%;opacity: 0;top: 0;left: 0;z-index:2;" id:ignore >
<input type="file" style="position: absolute;width: 100%;height: 100%;opacity: 0;top: 0;left: 0;z-index:2;" id:ignore title="">
<div class="ant-upload-drag-container">
some content
</div>
@ -56,7 +56,7 @@
@<span class="">
<div class=" ant-upload ant-upload-select-text ant-upload-select" style="">
<span tabindex="0" class="ant-upload" style="display: grid;" data-fileid:ignore role="button">
<input type="file" style="display:none;" id:ignore>
<input type="file" style="display:none;" id:ignore title="">
some content
</span>
</div>