Live Chat Icon For mobile
Live Chat Icon

Issue—Blazor – System.InvalidOperationException: Object of type

Platform: Blazor| Category: Troubleshooting

‘BlazorDataBinding.Pages.Counter’ has a property matching the name ‘IncrementValue’, but it does not have [ParameterAttribute] or [CascadingParameterAttribute] applied.

You must mention the [Parameter] attribute for the component attributes.

 private int IncrementValue { get; set; } = 5; 

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.