Skip to content

Provide a warning if a user adds a UI event handler but the component isn't set up to render interactively #11753

Open
@danroth27

Description

@danroth27

It's pretty common to forget that you need to enable an interactive render mode to use interactive features, like handling UI events. For example: https://learn.microsoft.com/en-us/answers/questions/1789186/blazor-web-app-is-not-working-for-any-events-butto. It would nice if the editor provided some sort of warning or diagnostic to let you know that the interactive feature won't work until you enable one of the interactive render modes.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions