Hi Syncfusion support,
What I'm trying to do is to change the value of SfNumericTextBox when lostfocus, how can I do that ?
Below is the example code :
@page "/numerictextboxfeatures"
@using Syncfusion.Blazor.Inputs
<h2>Numeric TextBox</h2>
<br/>
<div id = "ControlRegion">
<div class="control-section">
<div class="col-lg-12 control-section">
<div class="content-wrapper">
<div class="control-label">
Custom Value (the value will doubled when lost focus)
</div>
<SfNumericTextBox @ref="textbox"
TValue="decimal"
Format="n0"
EnableRtl="true"
@bind-Value="CustomValue"
Min="0"
Max="9999999999"
/>
</div>
</div>
</div>
</div>
<style>
.content-wrapper {
width: 35%;
margin: 0 auto;
min-width: 185px;
}
.e-float-input.e-numeric.e-input-group {
margin-top: 40px;
}
.control-label {
padding: 24px 0px 10px 0px;
font-size: 12px;
}
</style>
<br/>
<div>
<h3>Selected Features:</h3>
<ul class="ulstyle">
<li class="list"> Numeric TextBox Samples - Custom Format</li>
<li class="list"> Theme - Bootstrap v4</li>
</ul>
</div>
<br/>
<style>
.ulstyle {
margin: 0px;
padding-left: 20px;
display: inline-block;
}
.list {
float: left;
line-height: 20px;
margin: 10px;
min-width: 350px;
}
</style>
@code {
decimal _customvalue = 0;
decimal CustomValue { get { return _customvalue; }
set
{
_customvalue = value * 2;
}
}
SfNumericTextBox<decimal> textbox { get; set; }
}