x-ui-design 0.3.77 → 0.3.78

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
@@ -739,6 +739,10 @@ const useForm = (initialValues = {}, onFieldsChange, onValuesChange, scrollToFir
739
739
  [name]: fieldErrors
740
740
  }));
741
741
  warningsRef.current[name] = fieldWarnings;
742
+ console.log({
743
+ isSubmit,
744
+ _scrollToFirstError: _scrollToFirstError.current
745
+ });
742
746
  if (isSubmit || _scrollToFirstError.current) {
743
747
  const firstErrorContent = document.querySelectorAll('.xUi-form-item-error')?.[0];
744
748
  if (firstErrorContent) {