Blazor Numeric TextBox - Restrict Decimals

Numeric Textbox / Restrict Decimals

This example demonstrates the decimal functionalities of the Numeric TextBox. Type a value in the input element to change dynamically, and it allows maximum of 3 decimal digits.

Loading Syncfusion Blazor Server Demos…

The Numeric Textbox provides an option to restrict the number of decimal values, by using the Decimals property. To restrict the number of decimal values on typing, use the Decimals and ValidateDecimalOnType properties.

See also

Transform your Blazor web apps today with Syncfusion® Blazor components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE