Select theme:

Material 3

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