synapsefi-ui
Advanced tools
Comparing version 1.4.4 to 1.4.5
@@ -143,3 +143,3 @@ 'use strict'; | ||
var result = this.props.data.map(function (item, idx) { | ||
if (typeof _this2.props.formValues[item.propName] === 'undefined') return null; | ||
if (typeof _this2.props.formValues[item.propName] === 'undefined' && !item.isChild) return null; | ||
if (_this2.props.hiddenCollection && _this2.props.hiddenCollection[item.propName]) return null; | ||
@@ -161,3 +161,3 @@ | ||
error: _this2.state.afterSubmission && _this2.state.touch.has(item.propName) && _this2.state.errors[item.propName], | ||
error: _this2.state.afterSubmission && _this2.state.touch.has(item.propName) ? _this2.state.errors[item.propName] : false, | ||
@@ -207,3 +207,3 @@ disabled: isDisabled, | ||
item: item, | ||
error: this.state.afterSubmission && this.state.touch.has(propName) && this.state.errors[propName], | ||
error: this.state.afterSubmission && this.state.touch.has(propName) ? this.state.errors[propName] : false, | ||
@@ -210,0 +210,0 @@ onFocus: function onFocus(e) { |
{ | ||
"name": "synapsefi-ui", | ||
"description": "synapsefi-ui", | ||
"version": "1.4.4", | ||
"version": "1.4.5", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
184059