Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
We need to provide converter support for an API called “Converter“ for converting the entered value and update it to the value property. Please refer the below code.
<SfNumericTextBox TValue="decimal" @bind-Value="expensePercentage" Format="P5">
<NumericTextBoxEvents TValue="decimal" ValueChange="OnExpensesChange" Converter="(args)
=> args.Value / 100"/>
</SfNumericTextBox>
Please find the more details about requirement.
1. The value returned by the converter callback should be updated to the value property, and we need to get this updated value in the change event.
2. The updated value should not be shown in the component's UI and should only be updated in the value property.
3. The converter returned value should of type TValue.
Example for the above requirement:
If I return 0.1 from the converter, the value should be updated to the value property and in the change event arguments, we need to get this updatedvalue. However, the value should remain unchanged in the component's UI.