Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix the second Autocomplete call
  • Loading branch information
dvoituron committed Feb 14, 2025
commit 7d6f32d74a53b1327649d30b9a7a5072c037aa65
17 changes: 9 additions & 8 deletions src/Core/Components/List/FluentAutocomplete.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -430,14 +430,15 @@ async Task KeyDown_BackspaceAsync()
}

// Remove last char
if (!string.IsNullOrEmpty(ValueText))
{
await InputHandlerAsync(new ChangeEventArgs()
{
Value = ValueText[..^1],
});
return;
}
// -> Commented to fix #3359
// if (!string.IsNullOrEmpty(ValueText))
// {
// await InputHandlerAsync(new ChangeEventArgs()
// {
// Value = ValueText[..^1],
// });
// return;
// }
}

// ArrowUp
Expand Down