Cross-link property binding in Blazor forms topic (#18338)

pull/18339/head
Luke Latham 2020-05-15 20:28:26 -05:00 committed by GitHub
parent d7363205a2
commit bc9f677fb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ In the preceding example:
* The form validates user input in the `name` field using the validation defined in the `ExampleModel` type. The model is created in the component's `@code` block and held in a private field (`exampleModel`). The field is assigned to the `Model` attribute of the `<EditForm>` element.
* The `InputText` component's `@bind-Value` binds:
* The model property (`exampleModel.Name`) to the `InputText` component's `Value` property.
* The model property (`exampleModel.Name`) to the `InputText` component's `Value` property. For more information on property binding, see <xref:blazor/data-binding#parent-to-child-binding-with-component-parameters>.
* A change event delegate to the `InputText` component's `ValueChanged` property.
* The `DataAnnotationsValidator` component attaches validation support using data annotations.
* The `ValidationSummary` component summarizes validation messages.