diff --git a/lib/form/validate.js b/lib/form/validate.js index 5a79940..722108d 100644 --- a/lib/form/validate.js +++ b/lib/form/validate.js @@ -200,6 +200,8 @@ const buildValues = working => { * * @param {object} input - Input Type being tested * @param {ValidationSettings} settings - All validation settings + * @param {function} validation - The validation function to run + * @param {string} required - The required check to run (save/publish) * * @returns {true|FormInputValues} - Returns `true` if there are no validation or required issues, {FormInputValues} with error messages as values if there are */