@thecb/components 6.1.4-beta.5 → 6.1.4-beta.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -35145,24 +35145,10 @@ const runValidator = (validator, value, form) => {
35145
35145
  if (validatorFn === undefined) {
35146
35146
  throw new Error(runValidatorErrorMessage(validator.type));
35147
35147
  }
35148
- console.log(
35149
- "run validator (validator, value, form):",
35150
- validator.type,
35151
- validator.args,
35152
- value,
35153
- form
35154
- );
35155
35148
  return validatorFn(value, validator.args, form) ? null : validator.error;
35156
35149
  };
35157
35150
 
35158
35151
  const _computeErrors = (fieldName, form, validators) => {
35159
- console.log("field name is", fieldName);
35160
- console.log("form is", form);
35161
- console.log("validators are", validators);
35162
- const validatorsResult = validators.map(v =>
35163
- runValidator(v, form[fieldName].rawValue, form)
35164
- );
35165
- console.log("validators result is", validatorsResult);
35166
35152
  return validators
35167
35153
  .map(v => runValidator(v, form[fieldName].rawValue, form))
35168
35154
  .filter(x => x !== null);