@onehat/ui 0.3.341 → 0.3.342

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onehat/ui",
3
- "version": "0.3.341",
3
+ "version": "0.3.342",
4
4
  "description": "Base UI for OneHat apps",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -85,6 +85,13 @@ function TagComponent(props) {
85
85
  return;
86
86
  }
87
87
 
88
+ if (_.isNil(comboValue)) {
89
+ // NOTE: We *shouldn't* get here, but for some unknown reason, we *were* getting here on rare occasions.
90
+ // The combo was giving us null values, and the Tag dutifully added null values to its value array.
91
+ // Stop this from happening.
92
+ return;
93
+ }
94
+
88
95
  // make sure value doesn't already exist
89
96
  let exists = false;
90
97
  _.each(value, (val) => {