synapsefi-ui
Advanced tools
Comparing version 1.5.3 to 1.5.4
@@ -122,3 +122,7 @@ 'use strict'; | ||
_lodash2.default.isEmpty(errors) ? this.props.handleSubmit(e) : this.setState({ | ||
if (_lodash2.default.isEmpty(errors)) { | ||
return this.props.handleSubmit(e); | ||
} | ||
this.setState({ | ||
afterSubmission: true, | ||
@@ -125,0 +129,0 @@ touch: new Set(Object.keys(this.props.formValues)), |
@@ -72,6 +72,12 @@ 'use strict'; | ||
default: | ||
if (customFormat) { | ||
return { | ||
format: customFormat | ||
}; | ||
} | ||
return { | ||
format: customFormat | ||
removeFormatting: true | ||
}; | ||
} | ||
}; |
{ | ||
"name": "synapsefi-ui", | ||
"description": "synapsefi-ui", | ||
"version": "1.5.3", | ||
"version": "1.5.4", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
188307
3225