Select theme:

Material 3
warning

You are viewing the legacy Radzen documentation.

Radzen Blazor Studio has replaced Radzen as the primary RAD tool for Blazor applications.

Radzen Blazor Studio offers a modern UI, enhanced features, and improved performance to streamline your development process.

The latest documentation for Radzen Blazor Studio is available here: https://www.radzen.com/blazor-studio/documentation/

Open Radzen Blazor Studio docs

RequiredValidator (Angular)link

This guide demonstrates how to use the RequiredValidator component.

RequiredValidator Propertieslink

NameTypeDefaultDescription
Namestring'requiredValidator' + index suffixUnique name of RequiredValidator.
Textstring'Required'The text that the validator will display.
ComponentstringnullThe Name of a input component.
Visibleboolean/expressiontrueIs the RequiredValidator visible.

Usagelink

The RequiredValidator is used to verify that an input component (e.g. TextBox, DropDown) has value. It is ideally used inside a TemplateForm component.

  1. Drag and drop a RequiredValidator from the Radzen toolbox.
  2. Set its Component property via the dropdown. image
  3. Optionally set the Text of the RequiredValidator.
© 2016-2025 Radzen Ltd. All Rights Reserved.
Designed and developed with ❤️ in Radzen Blazor Studio.

Select theme:

Material 3