|
<SfNumericTextBox @bind-Value="@objsample" TValue="decimal" ShowSpinButton=false ValidateDecimalOnType="true" Decimals="8" Format="C8"></SfNumericTextBox>
public decimal objsample { get; set; } = 0.00000012M; |
This is still doing this on version 19.2.0.47. When I click into the numeric box to goes to 0 rather than 0.00. Also ignores currency. Cheers
<SfNumericTextBox @bind-Value="@Job.Total" FloatLabelType="FloatLabelType.Always" [email protected]("Total Cost (DUR: £", Job.DefaultUnitRate.ToString("N2"), ")")Currency="GBP" Format="C2" Decimals="2" Min="0" Enabled="!Job.ZeroRated"> <NumericTextBoxEvents TValue="double" ValueChange="SetLocalState" /> </SfNumericTextBox>|
Type |
On blur action |
On focus action |
|
For integer value |
|
|
|
For decimal value |
|
|