Skip to content

Blazor automatic arbitrary attribute binding ... Is it a thing? #25490

Discussion options

You must be logged in to vote

About this:

<input @bind-data-info="val" @bind-data-info:event="oninput" />

Yep, there's no such feature, and never has been 😄 People should indeed use the actual binding feature that does exist, and can independently render data onto any attribute, like in your other example:

<input data-info="@val" @bind="val" @bind:event="oninput" />

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by guardrex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants