@elementor/editor-variables 4.1.0-718 → 4.1.0-720

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
@@ -2491,7 +2491,7 @@ var VariableCreation = ({ onGoBack, onClose }) => {
2491
2491
  },
2492
2492
  onErrorChange: (errorMsg) => {
2493
2493
  setLabelFieldError({
2494
- value: label,
2494
+ value: "",
2495
2495
  message: errorMsg
2496
2496
  });
2497
2497
  },
@@ -2718,7 +2718,7 @@ var VariableEdit = ({ onClose, onGoBack, onSubmit, editId }) => {
2718
2718
  },
2719
2719
  onErrorChange: (errorMsg) => {
2720
2720
  setLabelFieldError({
2721
- value: label,
2721
+ value: "",
2722
2722
  message: errorMsg
2723
2723
  });
2724
2724
  },
@@ -3304,7 +3304,7 @@ var VariableRestore = ({ variableId, onClose, onSubmit }) => {
3304
3304
  },
3305
3305
  onErrorChange: (errorMsg) => {
3306
3306
  setLabelFieldError({
3307
- value: label,
3307
+ value: "",
3308
3308
  message: errorMsg
3309
3309
  });
3310
3310
  },