x-ui-design 0.3.51 → 0.3.52

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.esm.js CHANGED
@@ -709,6 +709,7 @@ const useForm = (initialValues = {}, onFieldsChange, onValuesChange) => {
709
709
  const fieldWarnings = [];
710
710
  await Promise.all([rules].flat(1).map(async rule => {
711
711
  rule = typeof rule === 'function' ? rule(formInstance) : rule;
712
+ debugger;
712
713
  if (rule.required && (rule.validateBooleanFalse && !value || value === undefined || value === null || value === '' || Array.isArray(value) && !value.length)) {
713
714
  fieldErrors.push(rule.message || 'This field is required');
714
715
  }