@visns-studio/visns-components 1.5.10 → 1.5.11

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.
@@ -1317,7 +1317,12 @@ const DataGrid = forwardRef(
1317
1317
  );
1318
1318
 
1319
1319
  result =
1320
- relationValue[column.relation.id];
1320
+ relationValue &&
1321
+ relationValue[column.relation.id]
1322
+ ? relationValue[
1323
+ column.relation.id
1324
+ ]
1325
+ : "";
1321
1326
  }
1322
1327
 
1323
1328
  return <span>{parse(result)}</span>;
@@ -446,7 +446,7 @@ function Form(props) {
446
446
  });
447
447
  }
448
448
 
449
- if (fileUpload === true) {
449
+ if (fileUpload === true && formData[fileKey] !== null) {
450
450
  Vapor.store(formData[fileKey], {
451
451
  progress: (progress) => {
452
452
  setUploadProgress(progress * 100);
@@ -12,7 +12,7 @@ function Select(props) {
12
12
  value={inputValue}
13
13
  data-show={settings.show ? JSON.stringify(settings.show) : ""}
14
14
  >
15
- <option>Please select an option</option>
15
+ <option value="">Please select an option</option>
16
16
  {options.map((item, index) => (
17
17
  <option
18
18
  key={settings.id + "-" + item.id}
package/package.json CHANGED
@@ -35,7 +35,7 @@
35
35
  "react-dom": "^17.0.1"
36
36
  },
37
37
  "name": "@visns-studio/visns-components",
38
- "version": "1.5.10",
38
+ "version": "1.5.11",
39
39
  "description": "Various packages to assist in the development of our Custom Applications.",
40
40
  "main": "index.js",
41
41
  "devDependencies": {},