@experium/findy-form 1.2.52 → 1.2.53

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.
@@ -156,7 +156,7 @@ var Select = /*#__PURE__*/function (_Component) {
156
156
  var regionParent = (0, _ramda.prop)(settings.regionField, formValues);
157
157
  var countryParent = (0, _ramda.prop)(settings.countryField, formValues);
158
158
  var filteredOptions = (0, _ramda.filter)((0, _ramda.allPass)([function (item) {
159
- if (countryParent || countryParent) {
159
+ if (countryParent || regionParent) {
160
160
  var regionEqual = regionParent ? regionParent === item.region : true;
161
161
  var countryEqual = countryParent ? countryParent === item.country : true;
162
162
  return regionEqual && countryEqual;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experium/findy-form",
3
- "version": "1.2.52",
3
+ "version": "1.2.53",
4
4
  "main": "./lib/index.js",
5
5
  "homepage": "https://experium.github.io/findy-form",
6
6
  "repository": "https://github.com/experium/findy-form",
@@ -112,7 +112,7 @@ class Select extends Component {
112
112
 
113
113
  const filteredOptions = filter(allPass([
114
114
  item => {
115
- if (countryParent || countryParent) {
115
+ if (countryParent || regionParent) {
116
116
  const regionEqual = regionParent ? regionParent === item.region : true;
117
117
  const countryEqual = countryParent ? countryParent === item.country : true;
118
118