Blazor Numeric TextBox - Custom Format
This example demonstrates the custom format functionalities of the Numeric Textbox. The value of Numeric TextBox will be displayed with defined custom format while typing a value or changing a value using up/down buttons in the input boxes.
The Numeric Textbox provides an option to customize the display format of the numeric value using the Format property. It accepts the standard numeric format string and custom numeric format string as specified in MSDN. The formatted value displays when the component is not focused.
In this demo, Numeric Textbox component renders with the custom format ###.## km.
See also