gd-sprest-react
Advanced tools
Comparing version 2.7.1 to 2.7.2
@@ -49,3 +49,3 @@ "use strict"; | ||
props.required = typeof (props.required) === "boolean" ? props.required : _this.state.fieldInfo.required; | ||
props.value = _this.getValue(); | ||
props.value = _this.getValue() || ""; | ||
props.errorMessage = _this.state.showErrorMessage ? (props.value ? "" : props.errorMessage) : ""; | ||
@@ -52,0 +52,0 @@ // See if this is a percentage |
@@ -49,3 +49,3 @@ "use strict"; | ||
props.rows = props.rows ? props.rows : _this.state.fieldInfo.rows; | ||
props.value = _this.getFieldValue(); | ||
props.value = _this.getFieldValue() || ""; | ||
props.errorMessage = _this.state.showErrorMessage ? (props.value ? "" : props.errorMessage) : ""; | ||
@@ -52,0 +52,0 @@ // See if we are displaying the value |
{ | ||
"name": "gd-sprest-react", | ||
"version": "2.7.1", | ||
"version": "2.7.2", | ||
"description": "SharePoint react components.", | ||
@@ -41,3 +41,3 @@ "main": "build/index.js", | ||
"css-loader": "^0.28.9", | ||
"gd-sprest": "^3.1.3", | ||
"gd-sprest": "^3.1.4", | ||
"node-sass": "^4.7.2", | ||
@@ -44,0 +44,0 @@ "office-ui-fabric-react": "^5.40.2", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
363330