Blazor Value cannot be null. (Parameter 'obj')
Open
area-blazor
bug
copilot-candidate
feature-blazor-builtin-components
good first issue
help wanted
Pillar: Technical Debt
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 290
Description
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Describe the bug
when calling
`EditContext.NotifyFieldChanged(FieldIdentifier);`
with a `FieldIdentifier` that has `.FieldName == null` (because the custom component is not declared using `@bind` )
we'll get this not very useful error message:
> Value cannot be null. (Parameter 'obj')`
### Expected Behavior
a better error message
### Steps To Reproduce
_No response_
### Exceptions (if any)
_No response_
### .NET Version
6
### Anything else?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.