@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.mjs CHANGED
@@ -2479,7 +2479,7 @@ var VariableCreation = ({ onGoBack, onClose }) => {
2479
2479
  },
2480
2480
  onErrorChange: (errorMsg) => {
2481
2481
  setLabelFieldError({
2482
- value: label,
2482
+ value: "",
2483
2483
  message: errorMsg
2484
2484
  });
2485
2485
  },
@@ -2716,7 +2716,7 @@ var VariableEdit = ({ onClose, onGoBack, onSubmit, editId }) => {
2716
2716
  },
2717
2717
  onErrorChange: (errorMsg) => {
2718
2718
  setLabelFieldError({
2719
- value: label,
2719
+ value: "",
2720
2720
  message: errorMsg
2721
2721
  });
2722
2722
  },
@@ -3307,7 +3307,7 @@ var VariableRestore = ({ variableId, onClose, onSubmit }) => {
3307
3307
  },
3308
3308
  onErrorChange: (errorMsg) => {
3309
3309
  setLabelFieldError({
3310
- value: label,
3310
+ value: "",
3311
3311
  message: errorMsg
3312
3312
  });
3313
3313
  },