Skip to content
Merged
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
951e505
apply BitChoiceGroup improvements #12740
msynk Jul 21, 2026
904f917
resolve review comments
msynk Jul 21, 2026
4dba0c3
resolve local review findings
msynk Jul 26, 2026
fa690a8
fix local review findings
msynk Jul 26, 2026
cfd9d9d
resolve review comments 2
msynk Jul 27, 2026
6ab55aa
resolve review comments 2
msynk Jul 27, 2026
8301b60
resolve review comments 3
msynk Jul 28, 2026
eddc6e1
Merge branch 'develop' of https://github.com/bitfoundation/bitplatfor…
msynk Jul 28, 2026
f5a659f
resolve review comments 4
msynk Jul 28, 2026
9c06035
resolve review comments 5
msynk Jul 28, 2026
82c8d5a
Merge branch 'develop' into 12740-blazorui-choicegroup-improvements
msynk Jul 28, 2026
91812ac
resolve review comments 6
msynk Jul 28, 2026
c209bb5
fix tests
msynk Jul 28, 2026
6f2c88a
resolve review comments 7
msynk Jul 29, 2026
df9854b
fix tests
msynk Jul 29, 2026
1383dc6
resolve review comments 8
msynk Jul 29, 2026
fe79f40
resolve review comments 9
msynk Jul 29, 2026
89e723b
resolve review comments 9
msynk Jul 29, 2026
4788e0f
resolve review comments 10
msynk Jul 29, 2026
83d68ca
resolve review comments 11
msynk Jul 29, 2026
74545ec
resolve review comments 12
msynk Jul 29, 2026
666963b
resolve review comments 13
msynk Aug 3, 2026
6f179af
Merge branch 'develop' of https://github.com/bitfoundation/bitplatfor…
msynk Aug 3, 2026
2af8c54
fix siderail
msynk Aug 3, 2026
be31a28
resolve local review findings
msynk Aug 3, 2026
70f66fa
resolve local demo review findings
msynk Aug 4, 2026
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
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,54 @@
@typeparam TItem
@typeparam TValue

@* The invalid state belongs to the choice as a whole, not to the option that happens to be focused,
so the group carries the aria-invalid too and not only the individual radio inputs of the base class. *@
<div @ref="RootElement" @attributes="HtmlAttributes"
id="@_Id"
role="radiogroup"
style="@StyleBuilder.Value"
class="@ClassBuilder.Value"
dir="@Dir?.ToString().ToLower()"
aria-label="@AriaLabel"
aria-labelledby="@GetAriaLabelledBy()">
aria-labelledby="@GetAriaLabelledBy()"
aria-describedby="@GetAriaDescribedBy()"
aria-required="@(Required ? "true" : null)"
aria-invalid="@(ValueInvalid is true ? "true" : null)"
aria-readonly="@(ReadOnly ? "true" : null)"
aria-disabled="@(IsEnabled ? null : "true")"
aria-orientation="@(Horizontal ? "horizontal" : "vertical")">
Comment thread
msynk marked this conversation as resolved.

<label id="@_labelId"
disabled="@(IsEnabled is false)"
style="@Styles?.LabelContainer"
class="@Classes?.LabelContainer">
@if (LabelTemplate is not null)
{
@LabelTemplate
}
else if (Label.HasValue())
{
<span style="@Styles?.Label" class="bit-chg-lbl @Classes?.Label">@Label</span>
}
</label>
@if (HasLabel)
{
<label id="@_labelId"
style="@Styles?.LabelContainer"
class="@Classes?.LabelContainer">
@if (LabelTemplate is not null)
{
@LabelTemplate
}
else
{
<span style="@Styles?.Label" class="bit-chg-lbl @Classes?.Label">@Label</span>
}
</label>
}

@if (HasDescription)
{
<div id="@_descriptionId"
style="@Styles?.Description"
class="bit-chg-gds @Classes?.Description">
@if (DescriptionTemplate is not null)
{
@DescriptionTemplate
}
else
{
@Description
}
</div>
}

<div id="@_optionsContainerId" style="@Styles?.Container" class="bit-chg-cnt @Classes?.Container">
@if (Options is not null || ChildContent is not null)
Expand Down
Loading
Loading