required
Creates a validation function that checks the existence of an input.
const validate = required(error);
Parameter
errorstring
Return
validateQRL<(value:>FieldValue |) =>number[]string
Creates a validation function that checks the existence of an input.
const validate = required(error);
error stringvalidate QRL<(value: FieldValue | number[]) => string>