mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-05 21:47:38 +08:00
ddb09a9aa8
* fix(module: upload): file list style * refactor upload button to fix ref conflict
9 lines
498 B
C#
9 lines
498 B
C#
@namespace AntDesign.Internal
|
|
@inherits AntComponentBase
|
|
|
|
<div class="ant-upload ant-upload-select ant-upload-select-@(ListType)" style="@(!ShowButton?"display:none;":"")">
|
|
<span tabindex="0" class="ant-upload" @ref="_btn" data-fileid="@_fileId" role="button">
|
|
<input type="file" webkitdirectory="@Directory" multiple="@(Multiple || Directory)" @ref="_file" @onchange="FileNameChanged" accept="@Accept" style="display: none;" id="@_fileId" />
|
|
@ChildContent
|
|
</span>
|
|
</div> |