Hello Hassane,
Greetings from Syncfusion support.
We have validated your reported query. We suspect that for the decimal format specifier, you have given value as 'D' for Format property. We wish to inform you that the Format API portion of the Numeric textbox only accepts the formats below.
- N - denotes numeric type.
- C - denotes currency type.
- P - denotes percentage type.
For more information on supporting format. Please see link below.
If you want to give the decimal-specifier number. You can give 3 decimals like "N3" will accept, else you can specify format value as “N” it will accept with default decimal 2. For reference please review the code snippet and test sample below.
[Index.razor]
|
<SfNumericTextBox TValue="int?" Step="1" Placeholder="Due Soon Threshold (Miles)" @bind-Value="@NumericValue" Format="N3" FloatLabelType="@FloatLabelType.Auto"></SfNumericTextBox>
@code {
public int? NumericValue { get; set; } = 5;
}
|
Kindly check with the above sample. If you need further assistances, please get back us.
Regards,
Ponmani M