Hi,
I have this code in my project:
<SfNumericTextBox TValue="int?" Value="IntValue"></SfNumericTextBox>
<SfButton @onclick="ResetIntValue">Reset</SfButton>
@code {
public int? IntValue {get;set;}
public void
ResetIntValue
()
{
IntValue
= null;
}
}
After pressing the button, the textbox did not clear, it keeps the value.
If I set the calue to a number instead of null, everything works as expected.
Are I am doing something wrong here?