Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions aspnetcore/blazor/components/data-binding.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ Two-way data binding isn't possible to implement with an event handler. Use `@bi
{
var newValue = args.Value?.ToString() ?? string.Empty;

inputValue = newValue.Length > 4 ? "Long!" : inputValue = newValue;
inputValue = newValue.Length > 4 ? "Long!" : newValue;
}
}
```
Expand All @@ -220,7 +220,7 @@ The reason for this behavior is that Blazor isn't aware that your code intends t
{
var newValue = value ?? string.Empty;

inputValue = newValue.Length > 4 ? "Long!" : inputValue = newValue;
inputValue = newValue.Length > 4 ? "Long!" : newValue;
}
}
```
Expand Down