-
Notifications
You must be signed in to change notification settings - Fork 459
Closed
Labels
community:contributionIssue will/can be addressed by community contributionIssue will/can be addressed by community contributioncommunity:good-first-issueGood issues for first time contributorsGood issues for first time contributorsstatus:blockedAny issue blocked by anotherAny issue blocked by another
Description
🐛 Bug Report
After setting Loading in FluentButton bound to FluentInputFile, it won't open the file browse dialog anymore.
💻 Repro or Code Sample
<FluentButton
Id="form-browse-button"
Loading="_formUploading">
Upload...
</FluentButton>
<FluentInputFile
Accept="application/pdf"
AnchorId="form-browse-button"
DragDropZoneVisible="false"
Id="form-file-uploader"
Mode="InputFileMode.SaveToTemporaryFolder"
OnCompleted="OnFormUploadCompleted"
OnProgressChange="OnFormUploading"/>
@code {
bool _formUploading;
void OnFormUploading()
{
_formUploading = true;
}
async Task OnFormUploadCompleted(IEnumerable<FluentInputFileEventArgs> files)
{
_formUploading = false;
}
}
🌍 Your Environment
- OS & Device: Windows on PC
- Browser: Microsoft Edge, Mozilla FireFox
- .NET and Fluent UI Blazor library Version: 8.0.400/4.10.1
Metadata
Metadata
Assignees
Labels
community:contributionIssue will/can be addressed by community contributionIssue will/can be addressed by community contributioncommunity:good-first-issueGood issues for first time contributorsGood issues for first time contributorsstatus:blockedAny issue blocked by anotherAny issue blocked by another