Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
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: 4 additions & 0 deletions src/BootstrapBlazor/BootstrapBlazor.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
<None Include="wwwroot\src\**\*.*" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="BlazorSetParametersAsyncGenerator" Version="10.7.93" PrivateAssets="all" OutputItemType="Analyzer"/>
</ItemGroup>

<ItemGroup>
<Using Include="BootstrapBlazor.Components" />
<Using Include="Microsoft.AspNetCore.Components" />
Expand Down
1 change: 1 addition & 0 deletions src/BootstrapBlazor/Components/Checkbox/Checkbox.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ namespace BootstrapBlazor.Components;
/// Checkbox 组件
/// </summary>
[BootstrapModuleAutoLoader(JSObjectReference = true)]
[BlazorSetParametersAsyncGenerator.GenerateSetParametersAsync]
public partial class Checkbox<TValue> : ValidateBase<TValue>
{
/// <summary>
Expand Down
1 change: 1 addition & 0 deletions src/BootstrapBlazor/Components/Radio/Radio.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ namespace BootstrapBlazor.Components;
/// Radio 单选框组件
/// </summary>
[JSModuleNotInherited]
[BlazorSetParametersAsyncGenerator.GenerateSetParametersAsync]
public partial class Radio<TValue> : Checkbox<TValue>
{
/// <summary>
Expand Down
1 change: 1 addition & 0 deletions src/BootstrapBlazor/Components/Table/Table.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ namespace BootstrapBlazor.Components;
/// Table 组件基类
/// </summary>
[CascadingTypeParameter(nameof(TItem))]
[BlazorSetParametersAsyncGenerator.GenerateSetParametersAsync]
public partial class Table<TItem> : ITable, IModelEqualityComparer<TItem> where TItem : class
{
/// <summary>
Expand Down
Loading