Validation is not working for dropdown

HI I am trying to validate for required value selected in dropdown but does not seem to be working for me

<RadzenDropDown Data="@controlClassifications" TextProperty="Classification" ValueProperty="ClassificationId" @bind-Value="@((newControl.ClassificationId))" Name="Class" />
RadzenRequiredValidator Component="Class" Text="Classification is required" />

Any suggestions are appreciated

Thank you

Hi @chebyr,

Did you put the DropDown and RequiredValidator inside a RadzenTemplateForm component? Radzen validators work only inside a RadzenTemplateForm.

yes I have

RequiredValidator works for textboxes but does not work for dropdowns