About the new Generic Util Validator :
This allows us create an easy custom validator on a field element.
{
name: 'genericUtilValidator',
options: {
prop1: 5, // string | number | boolean
comparator: comparator,
prop2: ['fieldGroup', 'length'], // array with path for properties on the field.
validationName: 'minItems',
operator: 'parseInt', // OPTIONAL- operator on the values.
},
};