gd-sprest-react
Advanced tools
Comparing version 2.8.4 to 2.8.5
@@ -95,4 +95,11 @@ "use strict"; | ||
else { | ||
// Ensure the value is valid | ||
fieldValue = fieldValue > 0 ? fieldValue : null; | ||
// See if this is a multi value | ||
if (_this.state.fieldInfo.multi) { | ||
// Ensure a value exists | ||
fieldValue = fieldValue || { results: [] }; | ||
} | ||
else { | ||
// Ensure the value is valid | ||
fieldValue = fieldValue > 0 ? fieldValue : null; | ||
} | ||
} | ||
@@ -99,0 +106,0 @@ // Return the field value |
@@ -74,4 +74,11 @@ "use strict"; | ||
else { | ||
// Ensure the value is valid | ||
fieldValue = fieldValue > 0 ? fieldValue : null; | ||
// See if this is a multi value | ||
if (_this.state.fieldInfo.multi) { | ||
// Ensure a value exists | ||
fieldValue = fieldValue || { results: [] }; | ||
} | ||
else { | ||
// Ensure the value is valid | ||
fieldValue = fieldValue > 0 ? fieldValue : null; | ||
} | ||
} | ||
@@ -78,0 +85,0 @@ // Return the field value |
{ | ||
"name": "gd-sprest-react", | ||
"version": "2.8.4", | ||
"version": "2.8.5", | ||
"description": "SharePoint react components.", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
365804
6262