gd-sprest 9.2.7 → 9.2.8
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/build/helper/fieldSchemaXML.js +5 -1
- package/build/rest.js +1 -1
- package/dist/gd-sprest.js +1 -1
- package/dist/gd-sprest.min.js +1 -1
- package/package.json +1 -1
|
@@ -131,7 +131,11 @@ var FieldSchemaXML = function (fieldInfo, targetWebUrl) {
|
|
|
131
131
|
props["Min"] = fieldInfo.min;
|
|
132
132
|
}
|
|
133
133
|
// Generate the schema
|
|
134
|
-
schemaXml = "<Field " + toString(props) + "
|
|
134
|
+
schemaXml = "<Field " + toString(props) + ">";
|
|
135
|
+
if (fieldInfo.defaultValue) {
|
|
136
|
+
schemaXml += "<Default>" + fieldInfo.defaultValue + "</Default>";
|
|
137
|
+
}
|
|
138
|
+
schemaXml += "</Field>";
|
|
135
139
|
// Resolve the request
|
|
136
140
|
_resolve(schemaXml);
|
|
137
141
|
};
|
package/build/rest.js
CHANGED