@optimiser/common 1.0.228 → 1.0.229

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.
@@ -3902,7 +3902,7 @@ function ValidateSanitizeUserInput(inputFields, pageData) {
3902
3902
  elmValue = inputItem[elm];
3903
3903
  if (item.IsRequired == true && item.IsRequired !== undefined) {
3904
3904
  // check for required input fileds
3905
- if (elmValue && item.UIDataType == 'email' && elmValue != '' && elmValue != null && elmValue !== 'undefined') {
3905
+ if (elmValue && item.UIDataType == 'email' && elmValue != '' && elmValue != null && elmValue !== undefined) {
3906
3906
  if (!EmailValidation(elmValue.toString())) {
3907
3907
  msg = 'Invalid email format!';
3908
3908
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optimiser/common",
3
- "version": "1.0.228",
3
+ "version": "1.0.229",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {