Verify fast typing and bind parsing scenarios #11586
Labels
area-blazor
Includes: Blazor, Razor Components
task
Validation
This issue is used to track validation efforts
Milestone
To verify #11438, deploy a server-side Blazor app to an Azure location on the other side of the world, so you have maximum round-trip time.
Have a textbox with
bind-value:event="oninput"
, also wired up to display the typed value somewhere else in the UI, so it updates on every keystroke. Verify you can type much faster than the ping time to the server (e.g., 10 chars/sec, if the server is 300ms away) and none of the keystrokes are dropped or incorrectly ordered in the output. Verify you can position the cursor somewhere in the middle of an existing string, type fast, and the cursor position doesn't incorrectly jump to the end like it did before.Have a textbox bound to an
int
. Verify that when entering a non-parseable value (empty string, some non-numeric value, etc.) that when you tab out it reverts to the previous valid value.Same as 2, but with
bind-value:event="oninput"
, so now you aren't allowed to enter any keystrokes that would make it unparseable. Or rather you can type them, but it will revert back to the previous value. This is kind of surprising in some ways (e.g., you can't clear the textbox completely, as it will revert to0
) but is the behavior by design now.The text was updated successfully, but these errors were encountered: