Skip to content

Commit f463011

Browse files
committed
Fixed spaces in id params
1 parent 7ead433 commit f463011

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/EventLogExpert/Shared/Components/BooleanSelect.razor

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
@inherits BaseComponent<bool>
33

44
<div aria-label="@AriaLabel" class="toggle" role="radiogroup">
5-
<input aria-label="@AriaLabel @DisabledString" checked="@(!Value)" id="@Id false" name="@Id" @onchange="UpdateValue" type="radio" value="false" />
6-
<label data-single-color="@IsSingleColor.ToString().ToLower()" for="@Id false">@DisabledString</label>
5+
<input aria-label="@AriaLabel @DisabledString" checked="@(!Value)" id="@($"{Id}_false")" name="@Id" @onchange="UpdateValue" type="radio" value="false" />
6+
<label data-single-color="@IsSingleColor.ToString().ToLower()" for="@($"{Id}_false")">@DisabledString</label>
77

8-
<input aria-label="@AriaLabel @EnabledString" checked="@(Value)" id="@Id true" name="@Id" @onchange="UpdateValue" type="radio" value="true" />
9-
<label data-single-color="@IsSingleColor.ToString().ToLower()" for="@Id true">@EnabledString</label>
8+
<input aria-label="@AriaLabel @EnabledString" checked="@(Value)" id="@($"{Id}_true")" name="@Id" @onchange="UpdateValue" type="radio" value="true" />
9+
<label data-single-color="@IsSingleColor.ToString().ToLower()" for="@($"{Id}_true")">@EnabledString</label>
1010
</div>

0 commit comments

Comments
 (0)