I have one parent component and one child component. The child component contain RadzenDropDown is not validating when click on submit button from parent component.
You need to ensure that the component is embedded in RadzenTemplateForm component for validators to work. Like this as shown in demo. Also ensure that the bound variable does not have default value.
Yes sir, the child component is embedded in RadzenTemplateForm component means the RadzenTemplateForm is embedded within the parent component. And the bound variable is idCategory and it is IEnumerable<string>. But still is not working. How can I do this?
I don't think Blazor validation will work with a custom component without it implementing certain properties such as ValueExpression and FieldIdentifier. Check FormComponent and some Radzen.Blazor component which implements it such as RadzenTextBox.