Why won't my numeric text box bind?
<TelerikWindow Visible="@ShowEditPopup"
Modal="true"
Draggable="true"
Resizable="false"
MaxWidth="350px">
<WindowTitle>Edit Method</WindowTitle>
<WindowContent>
<div>
<label>Description:</label>
<TelerikTextBox @bind-Value="@EditingMethod.Description" />
</div>
<div>
<label>Is Run:</label>
<TelerikCheckBox @bind-Value="@EditingMethod.IsRun" />
</div>
<div>
<label>Run Frequency Minutes:</label><br />
<small>4 Hours: 240, 12 Hours: 720, 24 Hours: 1440</small>
<TelerikNumericTextBox @bind-Value="@EditingMethod.RunFrequencyMinutes"
Min="5"
Max="1440"
Step="5"
Decimals="0" />
</div>
<div>
<TelerikButton OnClick="OnSavePopup">Save</TelerikButton>
<TelerikButton OnClick="OnCancelPopup">Cancel</TelerikButton>
</div>
</WindowContent>
</TelerikWindow>
Hi Joel,
The configuration of the TelerikWindow looks correct. I copied it and tested it on my end, and the numeric value behaves as expected.
As a next step, I’m sharing this REPL link where you can run the sample and check whether you observe the same behavior. If the issue persists, please modify the example to reproduce the problem and send it back to me so I can investigate further.
Kind Regards,
Hristian