Cross-link property binding in Blazor forms topic (#18338)
parent
d7363205a2
commit
bc9f677fb3
|
@ -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 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 `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.
|
* A change event delegate to the `InputText` component's `ValueChanged` property.
|
||||||
* The `DataAnnotationsValidator` component attaches validation support using data annotations.
|
* The `DataAnnotationsValidator` component attaches validation support using data annotations.
|
||||||
* The `ValidationSummary` component summarizes validation messages.
|
* The `ValidationSummary` component summarizes validation messages.
|
||||||
|
|
Loading…
Reference in New Issue