dotnet / dotnet/roslyn

Blazor shows overly broad error when missing method

Open
#85,564 0 comments 0 reactions 0 assignees View on GitHub
Area-Razor
Dominant language
C#
Stars
20.7k
Forks
4.3k
PR merge metrics
PR metrics pending

Description

_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/t/Blazor-shows-overly-broad-error-when-mis/10735875)._

---
[severity:It's more difficult to complete my work]
When a method is missing in an EditForm the underline squiggles highlight most of the form, not correctly isolating the actual error.

See below the two displays of a missing method. The second method, outside the form is the better experience:

B9eae1ce19cf54af78b173c24aa1f28a6638608078891697839_20240901-131809-image

---
### Original Comments

#### Feedback Bot on 9/1/2024, 06:34 PM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.