Required validator checks if the value is not empty/falsy.

import validatorTypes from '@data-driven-forms/react-form-renderer/validator-types';
{
type: validatorTypes.REQUIRED,
}