You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: .NET 11 exception for dateselected custom event #4603
When using this library on .NET 11, I'm getting an exception in the browser Dev Console:
"The custom event 'dateselected' cannot have the same name as its browserEventName 'dateselected'. Choose a different name for the custom event."
💻 Repro or Code Sample
You can see it on for example https://lab.razor.fyi/, but I assume any FluentUI blazor app on .NET 11 Preview 1 would hit it.
🤔 Expected Behavior
Doesn't crash.
😯 Current Behavior
There is an unhandled exception "The custom event 'dateselected' cannot have the same name as its browserEventName 'dateselected'. Choose a different name for the custom event."
💁 Possible Solution
Change the custom event name to be different from browser event name.
Activity
jjonescz commentedon Mar 7, 2026
Btw, dateselected is probably not the only event that has the same name and browserEventName, it's just the first one that crashes.
vnbaaij commentedon Mar 8, 2026
Noted! See #4609 for the v4 changes and #4607 for v5.