indicator-ui 0.0.74 → 0.0.75

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.js CHANGED
@@ -8506,7 +8506,7 @@ const getValidateFun = ({ validationProps, keyWay, value, schemeRequired, addErr
8506
8506
  };
8507
8507
  const getOnBlurValidation = (schema, additionProps, keyWay) => {
8508
8508
  const props = schema.props.onBlurValidation || schema.props.onChangeValidation;
8509
- if (props || props.required) {
8509
+ if (props || schema.props.required) {
8510
8510
  const value = additionProps.getValue(keyWay);
8511
8511
  return getValidateFun({
8512
8512
  validationProps: props,
@@ -8524,7 +8524,7 @@ const getOnChangeValidation = (schema, additionProps, keyWay) => {
8524
8524
  if (!props && schema.props.required === true) {
8525
8525
  props = { fun: () => true };
8526
8526
  }
8527
- if (props) {
8527
+ if (props || schema.props.required) {
8528
8528
  const value = additionProps.getValue(keyWay);
8529
8529
  return getValidateFun({
8530
8530
  validationProps: props,