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: 3 additions & 1 deletion blazor/data-form/templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ The DataForm component supports templating to customize either a specific field

Customize an individual field editor using the [Template](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DataForm.Template.html) `RenderFragment` inside a `FormItem`. This enables full control over the rendering, styling, and behavior of a single editor while retaining DataForm features such as validation and labels.

> **Note:** The `Field` property is required even when using a custom editor `Template`. Set the `Field` on the corresponding `FormItem` so the DataForm can bind the template to the data model, perform validation, and render labels correctly.

{% tabs %}
{% highlight razor tabtitle="Template" %}

Expand Down Expand Up @@ -99,4 +101,4 @@ Use the [ValidationSummary](https://learn.microsoft.com/en-us/dotnet/api/microso
{% endhighlight %}
{% endtabs %}

![Blazor DataForm displaying a ValidationSummary with aggregated error messages](images/blazor_dataform_validation_summary.png)
![Blazor DataForm displaying a ValidationSummary with aggregated error messages](images/blazor_dataform_validation_summary.png)