@visns-studio/visns-components 3.6.6 → 3.6.7

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.
@@ -359,6 +359,7 @@ const GenericDynamic = ({
359
359
  Object.entries(activeForm).forEach(([key, field]) => {
360
360
  if (
361
361
  field.required === true &&
362
+ field.type !== 'dynamicdata' &&
362
363
  (field.value === null || field.value === '')
363
364
  ) {
364
365
  error += `<p>${field.label} is required</p>`;
@@ -366,7 +367,6 @@ const GenericDynamic = ({
366
367
  });
367
368
 
368
369
  if (error === '') {
369
- console.info(setting);
370
370
  const res = await CustomFetch(setting.save, 'POST', {
371
371
  [primaryKey]: data.id,
372
372
  form_data: {
@@ -423,10 +423,6 @@ const GenericDynamic = ({
423
423
  }
424
424
  }, [data, type]);
425
425
 
426
- useEffect(() => {
427
- console.info(activeForm);
428
- }, [activeForm]);
429
-
430
426
  return (
431
427
  <>
432
428
  <div className="formSplit">
package/package.json CHANGED
@@ -50,7 +50,7 @@
50
50
  "react-dom": "^17.0.1"
51
51
  },
52
52
  "name": "@visns-studio/visns-components",
53
- "version": "3.6.6",
53
+ "version": "3.6.7",
54
54
  "description": "Various packages to assist in the development of our Custom Applications.",
55
55
  "main": "index.js",
56
56
  "scripts": {