No results
1
Input group
Byron edited this page 2026-10-02 23:02:08 +02:00
Table of contents
Basic
There is no component for an input group, you simply have to add a parent to the inputs you want to group and give it the input-group class.
<div class="input-group mbe-sm">
<CleanInputText @bind-Value="@(text)" />
<CleanButton ButtonType="@(CleanButtonType.Primary)">
Submit
</CleanButton>
</div>
<div class="input-group mbe-sm">
<CleanInputNumber @bind-Value="@(number)" />
<CleanButton ButtonType="@(CleanButtonType.Primary)">
Submit
</CleanButton>
</div>
<div class="input-group">
<CleanInputDate @bind-Value="@(date)" PrefixContent="@(Icons.Calendar)" />
<CleanButton ButtonType="@(CleanButtonType.Primary)">
Submit
</CleanButton>
</div>
@code {
private string? text;
private int number;
private DateOnly? date;
}