Skip to content

Commit

Permalink
refactor(EditForm): remove lookup service second render (#4914)
Browse files Browse the repository at this point in the history
* doc: 代码格式化

Co-Authored-By: A5196060 <166673003+A5196060@users.noreply.github.com>

* refactor: 移除 ef-loading 节点

Co-Authored-By: ZhYan <19183404+Axxbis@users.noreply.github.com>
Co-Authored-By: A5196060 <166673003+A5196060@users.noreply.github.com>

* chore: bump version 9.1.7

bump version 9.1.7

Co-Authored-By: MadLongTom <36219016+MadLongTom@users.noreply.github.com>

---------

Co-authored-by: A5196060 <166673003+A5196060@users.noreply.github.com>
Co-authored-by: ZhYan <19183404+Axxbis@users.noreply.github.com>
Co-authored-by: MadLongTom <36219016+MadLongTom@users.noreply.github.com>
  • Loading branch information
4 people authored Dec 22, 2024
1 parent 6832424 commit 1934423
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/BootstrapBlazor/BootstrapBlazor.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<Version>9.1.6</Version>
<Version>9.1.7</Version>
</PropertyGroup>

<ItemGroup>
Expand Down
4 changes: 0 additions & 4 deletions src/BootstrapBlazor/Components/EditorForm/EditorForm.razor
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@
@Buttons
</div>
}

<div class="ef-loading">
<Spinner Color="Color.Primary" />
</div>
</div>

@code
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@if (Model != null)
{
<CascadingValue Value="this" IsFixed="true">
<EditForm Model="@Model" @attributes="@AdditionalAttributes" id="@Id" data-bb-dissubmit="@DisableAutoSubmitString" data-bb-invalid-result="@ShowAllInvalidResultString" OnValidSubmit="@OnValidSubmitForm" OnInvalidSubmit="@OnInvalidSubmitForm">
<EditForm Model="@Model" @attributes="@AdditionalAttributes" id="@Id" data-bb-dissubmit="@DisableAutoSubmitString" data-bb-invalid-result="@ShowAllInvalidResultString" OnValidSubmit="@OnValidSubmitForm" OnInvalidSubmit="@OnInvalidSubmitForm">
<BootstrapBlazorDataAnnotationsValidator @ref="Validator" />
@ChildContent
</EditForm>
Expand Down

0 comments on commit 1934423

Please sign in to comment.