szld-libs 0.4.32 → 0.4.33

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.
@@ -553,7 +553,7 @@ function useDynamicForm(props) {
553
553
  getTitle,
554
554
  langId,
555
555
  onChange: (val) => {
556
- alert(JSON.stringify(val));
556
+ alert(JSON.stringify(val) + val && typeof val === "object" && !Array.isArray(val));
557
557
  if (val && typeof val === "object" && !Array.isArray(val)) {
558
558
  form.setFieldsValue({
559
559
  ...form.getFieldsValue(),
@@ -554,7 +554,7 @@ function useDynamicForm(props) {
554
554
  getTitle,
555
555
  langId,
556
556
  onChange: (val) => {
557
- alert(JSON.stringify(val));
557
+ alert(JSON.stringify(val) + val && typeof val === "object" && !Array.isArray(val));
558
558
  if (val && typeof val === "object" && !Array.isArray(val)) {
559
559
  form.setFieldsValue({
560
560
  ...form.getFieldsValue(),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "szld-libs",
3
3
  "private": false,
4
- "version": "0.4.32",
4
+ "version": "0.4.33",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",