This is a manifestation of the same issue - the form-control class is not applied to the topmost wrapping element of the numeric textbox, and so the rules don't match. Here's a workaround:
<style>
.workaround.form-control{
border: 0;
padding: 0;
}
</style>
<div class="form-group">
<label>TelerikNumericTextBox (with input-group-append)</label>
<div class="input-group">
<div class="form-control workaround">
<TelerikNumericTextBox Width="100%" @bind-Value="@TelerikNumericTextBoxField" T="int?" />
</div>
<div class="input-group-append">
<span class="input-group-text">@@</span>
</div>
</div>
</div>
Regards,
Marin Bratanov
Progress Telerik
Hi Marin,
the fact to set Width="100%" doesn't really work if you add an input-group-append class.
Source code
@page "/"
A sample workaround for, for example, bootstrap integration through the form-control class is this:
<div class="form-group">
<label>TelerikNumericTextBox</label>
<TelerikNumericTextBox Class="form-control" Width="100%" @bind-Value="@TelerikNumericTextBoxField" T="int?" />
</div>
For other cases, you can add the custom CSS class on a parent element of the numeric textbox and cascade through it.
Regards,
Marin Bratanov
Progress Telerik