We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b3850a commit fe2ff5bCopy full SHA for fe2ff5b
src/BootstrapBlazor/Components/BaseComponents/DynamicElement.cs
@@ -80,12 +80,6 @@ public class DynamicElement : BootstrapComponentBase
80
[Parameter]
81
public bool GenerateElement { get; set; } = true;
82
83
- /// <summary>
84
- /// 获得/设置 组件 Key 值
85
- /// </summary>
86
- [Parameter]
87
- public object? Key { get; set; }
88
-
89
/// <summary>
90
/// BuildRenderTree 方法
91
/// </summary>
@@ -125,11 +119,6 @@ protected override void BuildRenderTree(RenderTreeBuilder builder)
125
119
126
120
builder.AddContent(8, ChildContent);
127
121
128
- if (Key != null)
129
- {
130
- builder.SetKey(Key);
131
- }
132
133
122
if (GenerateElement || IsTriggerClick() || IsTriggerDoubleClick())
134
123
{
135
124
builder.CloseElement();
0 commit comments