[Blazor] Data binding - @bind-Value:set - EventCallback<T> support (#32023)

pull/32025/head
Robert Haken 2024-03-11 00:51:09 +01:00 committed by GitHub
parent e8b09b0429
commit e3eda6d780
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 2 deletions

View File

@ -212,8 +212,6 @@ Components support two-way data binding by defining a pair of parameters:
The `@bind:get` and `@bind:set` modifiers are always used together.
Using an event callback parameter with `@bind:set` (`[Parameter] public EventCallback<string> ValueChanged { get; set; }`) isn't supported. Instead, pass a method that returns an <xref:System.Action> or <xref:System.Threading.Tasks.Task> to `@bind:set`.
Examples
`BindGetSet.razor`: