@topconsultnpm/sdkui-react-beta 6.8.25 → 6.8.27

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.
@@ -57,6 +57,12 @@ const TMTextBox = ({ autoFocus, maxLength, labelColor, precision, scale, showCle
57
57
  }
58
58
  }
59
59
  }, [maxValue, currentValue, currentType]);
60
+ // Handle autofocus behavior on mount
61
+ useEffect(() => {
62
+ if (autoFocus && inputRef.current) {
63
+ inputRef.current.focus(); // Focus the input field
64
+ }
65
+ }, [autoFocus]); // This effect runs when the autoFocus prop changes
60
66
  useEffect(() => {
61
67
  if (formulaItems && formulaItems.length > 0) {
62
68
  let menuItems = [];
@@ -109,6 +109,7 @@ const TMPage = ({ id, objClass = ObjectClasses.None, objType, listInsteadOfConte
109
109
  setWaitPanelTextPrimary('');
110
110
  setShowWaitPanel(false);
111
111
  TMResultManager.show(result, operationTitle, "JobID", undefined);
112
+ await loadDataAsync();
112
113
  };
113
114
  dialogConfirmOperation(operationTitle, msg, doOperationAsync);
114
115
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@topconsultnpm/sdkui-react-beta",
3
- "version": "6.8.25",
3
+ "version": "6.8.27",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",