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

In bLazor UI why is my form binding not working? [duplicate]

$
0
0

searchString and SearchString is always empty even when i pass value to the input form. I can't get this data binding to work in blazor?

<h1>Bind Example</uh1><p><label>         inputValue:<input @bind="searchString" /></label></p><p><label>         InputValue:<input @bind="SearchString" /></label></p><ul><li><code>inputValue</code>: @searchString</li><li><code>InputValue</code>: @SearchString</li></ul>@code {      private string? searchString;      private String? SearchString { get; set; }}

Viewing all articles
Browse latest Browse all 4839

Trending Articles



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