In this case when the operator presses 'a' in the input form:
<input type=text bind="@SomeString" onkeyup="@Validate" />
@functions
{
private string SomeString;
private void Validate()
{
if(SomeString == "a") { // do something }
StateHasChanged();
}
}
SomeString is still "". It would be nice to have seen SomeString as "a".