Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Difference between @bind and @bind-value

$
0
0

What is the difference of using @bind and @bind-value?

I made this simple example, and testing it in the browser, I didn't see any difference.

<p>@@bind @increment1</p><input     type="text"    @bind="@increment1"/><p>@@bind-value @increment2</p><input     type="text"    @bind-value="@increment2"/>@code {    string increment1;    string increment2;}

Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>