[Blazor] Data binding - @bind-Value:set - EventCallback<T> support (#32023)
parent
e8b09b0429
commit
e3eda6d780
|
@ -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`:
|
||||
|
|
Loading…
Reference in New Issue