Fix broken test
These parameters are declared incorrectly.
This commit is contained in:
parent
8a1cf8386f
commit
da49e0e0f6
|
|
@ -2,12 +2,12 @@
|
||||||
<DuplicateAttributesOnElementChildComponent
|
<DuplicateAttributesOnElementChildComponent
|
||||||
BoolAttributeBefore="true"
|
BoolAttributeBefore="true"
|
||||||
StringAttributeBefore="original-text"
|
StringAttributeBefore="original-text"
|
||||||
UnmatchedValues="@elementValues"/>
|
UnmatchedValues="elementValues"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="duplicate-on-element-override">
|
<div id="duplicate-on-element-override">
|
||||||
<DuplicateAttributesOnElementChildComponent
|
<DuplicateAttributesOnElementChildComponent
|
||||||
UnmatchedValues="@elementValues"
|
UnmatchedValues="elementValues"
|
||||||
BoolAttributeAfter="false"
|
BoolAttributeAfter="false"
|
||||||
StringAttributeAfter="other-text" />
|
StringAttributeAfter="other-text" />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -14,10 +14,10 @@ else
|
||||||
}
|
}
|
||||||
|
|
||||||
@code {
|
@code {
|
||||||
[Parameter] public string StringAttributeBefore { get; private set; }
|
[Parameter] public string StringAttributeBefore { get; set; }
|
||||||
[Parameter] public bool BoolAttributeBefore { get; private set; }
|
[Parameter] public bool BoolAttributeBefore { get; set; }
|
||||||
[Parameter] public string StringAttributeAfter { get; private set; }
|
[Parameter] public string StringAttributeAfter { get; set; }
|
||||||
[Parameter] public bool? BoolAttributeAfter { get; private set; }
|
[Parameter] public bool? BoolAttributeAfter { get; set; }
|
||||||
|
|
||||||
[Parameter(CaptureUnmatchedValues = true)] public Dictionary<string, object> UnmatchedValues { get; private set; }
|
[Parameter(CaptureUnmatchedValues = true)] public Dictionary<string, object> UnmatchedValues { get; set; }
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue