@optimiser/common 1.0.378 → 1.0.379

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.
@@ -4785,7 +4785,8 @@ function ValidateUserInput(options) {
4785
4785
  return [2 /*return*/, "continue"];
4786
4786
  }
4787
4787
  if (IsStringValue(fieldData)) { //sanitizing Html
4788
- fieldData = (0, sanitize_html_1.default)(fieldData);
4788
+ inputFields[fieldName] = (0, sanitize_html_1.default)(fieldData);
4789
+ fieldData = inputFields[fieldName];
4789
4790
  }
4790
4791
  if ((field.UIDataType == 'date' || field.UIDataType == 'datetime') && IsStringValue(fieldData) && fieldData.trim() == '') {
4791
4792
  inputFields[fieldName] = null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optimiser/common",
3
- "version": "1.0.378",
3
+ "version": "1.0.379",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {