Skip to content

Instantly share code, notes, and snippets.

@jsakamoto
Created November 9, 2020 03:52
Show Gist options
  • Save jsakamoto/4b7a8a8cb59c4c7d2ac6e21454d4fae9 to your computer and use it in GitHub Desktop.
Save jsakamoto/4b7a8a8cb59c4c7d2ac6e21454d4fae9 to your computer and use it in GitHub Desktop.
<p>
<div>
<input type="text" @bind="Text1" />
Text1: [@Text1]
</div>
</p>
<p>
<div>
<input type="text" @bind="Text2" @bind:event="oninput" />
Text2: [@Text2]
</div>
</p>
@code {
private string Text1 = "";
private string Text2 = "";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment