Save $100 with promo code CHEERS2025

As we are looking forward to an incredible 2025, enjoy our end-of-year promotion! Valid now through January 6th.

See Pricing

Still using Radzen Studio?
Achieve more with Radzen Blazor Studio

Radzen Blazor Studio is our new flagship product and vision of how rapid Blazor application development should be done.

Go to Radzen Blazor Studio

RequiredValidator (Angular)

This guide demonstrates how to use the RequiredValidator component.

RequiredValidator Properties

Name Type Default Description
Name string ‘requiredValidator’ + index suffix Unique name of RequiredValidator.
Text string ‘Required’ The text that the validator will display.
Component string null The Name of a input component.
Visible boolean/expression true Is the RequiredValidator visible.

Usage

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.
  3. Optionally set the Text of the RequiredValidator.