New to Telerik UI for Blazor? Download Free 30-day trial
Slider - Validation
- EXAMPLE
- VIEW SOURCE
- EDIT IN TELERIK REPL
- Change Theme
default
- Validation.razor
Loading the demo source code...please wait.
Description
Telerik UI for Blazor SliderEditContext. It is easily integrated with TelerikForm and Blazor EditForms, and comes with default invalid styles.
The current demo showcases Blazor Slider integrated in EditForm. The Slider is bound to the BodyTemperature
field of the EditForm model. The field is decorated with DataAnnotations
attributes - Required
and Range
. Try submitting the form with invalid value to see an error message.
This Blazor Slider Validation example is part of a unique collection of hundreds of Blazor demos, with which you can see all Telerik UI for Blazor components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for Blazor or ThemeBuilder.