@visns-studio/visns-components 2.7.11 → 2.7.12

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.
@@ -452,6 +452,17 @@ function Form({
452
452
  method = 'DELETE';
453
453
  break;
454
454
  default:
455
+ if (formSettings.customUrl && formSettings.customMethod) {
456
+ url = formSettings.customUrl;
457
+
458
+ if (formSettings.customDataId) {
459
+ url += '/' + formData[formSettings.primaryKey];
460
+ }
461
+ method = formSettings.customMethod;
462
+ } else {
463
+ url = formSettings.url;
464
+ method = 'POST';
465
+ }
455
466
  break;
456
467
  }
457
468
 
package/package.json CHANGED
@@ -5,9 +5,9 @@
5
5
  "akar-icons": "^1.9.30",
6
6
  "array-move": "^4.0.0",
7
7
  "awesome-debounce-promise": "^2.1.0",
8
- "axios": "^1.6.0",
8
+ "axios": "^1.6.1",
9
9
  "framer-motion": "^10.16.4",
10
- "html-react-parser": "^5.0.4",
10
+ "html-react-parser": "^5.0.6",
11
11
  "lodash": "^4.17.21",
12
12
  "moment": "^2.29.4",
13
13
  "motion": "^10.16.4",
@@ -23,7 +23,7 @@
23
23
  "react-promise-tracker": "^2.1.1",
24
24
  "react-quill": "^2.0.0",
25
25
  "react-reveal": "^1.2.2",
26
- "react-select": "^5.7.7",
26
+ "react-select": "^5.8.0",
27
27
  "react-slugify": "^3.0.3",
28
28
  "react-sortable-hoc": "^2.0.0",
29
29
  "react-toastify": "^9.1.3",
@@ -44,7 +44,7 @@
44
44
  "react-dom": "^17.0.1"
45
45
  },
46
46
  "name": "@visns-studio/visns-components",
47
- "version": "2.7.11",
47
+ "version": "2.7.12",
48
48
  "description": "Various packages to assist in the development of our Custom Applications.",
49
49
  "main": "index.js",
50
50
  "scripts": {