!807 update src/BootstrapBlazor.Docs/wwwroot/docs/editorform/editorform.2.html.

* update src/BootstrapBlazor.Docs/wwwroot/docs/editorform/editorform.2.html.
This commit is contained in:
陈赞宇 2020-12-25 12:27:01 +08:00 committed by Argo
parent 364d257fe0
commit 204cddeee6

View File

@ -1,8 +1,8 @@
<ValidateForm Model="@ValidateModel">
<ValidateForm Model="@ValidateModel">
<EditorForm TModel="Dummy">
<FieldItems>
<EditorItem @bind-Field="@Model.BirthDay" Readonly="true" />
<EditorItem @bind-Field="@Model.Hobby">
<EditorItem @bind-Field="@ValidateModel.BirthDay" Readonly="true" />
<EditorItem @bind-Field="@ValidateModel.Hobby">
<EditTemplate Context="value">
@{
var model = value as Dummy;