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

Blazor binding not working when i run the app but works on the online editors [duplicate]

$
0
0

I'm just starting out with Blazor.I don't understand whether I am stupid or there's some kind of problem.I've made the code as simple as it can be and it is still not working for me.When I type in my input it doesn't get shown.I've tried to run it in the online editors like blazor fiddle and blazor playground and it works fine but when I run it from visual studio it just doesn't work. It doesn't work with onchange as well.

<input @bind="@InputValue" @bind:event="oninput" /><p>  @InputValue </p>@code {    private string? InputValue = "";}

Screenshot

If you could point me in the right direction I'd aprreciate it


Viewing all articles
Browse latest Browse all 4839

Trending Articles



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